Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

pipecat-ai/pipecat
main @ 5298679
27
Fixes
2
CVEs
CRITICAL
Peak severity
30.8%
Coverage
Highlights
Denial of Service: 22 prior fixes. Scrutinize any change in this area.
src/pipecat/runner/run.py: most-fixed (3 issues). Treat as high-risk during review.
5 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: The runner's file download endpoint accepts user-controlled filename parameters without canonicalization or directory prefix boundaries, allowing remote attackers to retrieve arbitrary files from the server host. This was publicly tracked as CVE-2026-44716.
Auth Bypass: Insecure WebSocket token generation and lack of authentication allowed unauthorized session hijacking. Predictable token payloads lacking high-entropy nonces could be guessed within the same second, and connections lacked HMAC verification checks.
Denial of Service: WebSocket connection state leaks and race conditions permitted concurrent incoming connections to abnormally terminate or disconnect existing active client sessions by overwriting the globally stored socket reference.