Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
src/parlant/api/sessions.py: most-fixed (2 issues). Treat as high-risk during review.
2 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.
Auth Bypass: Bypasses in session event authorization allow posting events on behalf of AI agents using general human agent permissions, or overriding participant identities in customer messages. This allows unauthorized actors to spoof messages and escalate privileges.
Denial of Service: Unsafe execution of concurrent operations via asyncio.gather can result in unhandled task exceptions and resource leaks, which degrades session-handling reliability.
Auth Bypass: Missing permission checks during agent-related read operations permit unauthorized users to extract sensitive configuration details like agent descriptions.