Duplicate Advisory: PraisonAI: Call API localhost-only authentication bypass via spoofed Host header
Description
PraisonAI versions up to 4.6.77 contain an authentication bypass vulnerability in the Call API agent invocation endpoints when the PRAISONAI_CALL_AUTH setting is disabled. The vulnerability arises because the localhost-only restriction is enforced by checking the HTTP Host header, which is client-controlled, allowing a remote attacker to spoof this header and bypass authentication to list and invoke agents.
CVSS v3.1
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI before version 4.6.78 has an authentication bypass vulnerability in the Call API agent invocation endpoints (src/praisonai/praisonai/api/agent_invoke.py) when the configuration PRAISONAI_CALL_AUTH=disabled is used. The intended safeguard restricts unauthenticated access to localhost by verifying the bind host from request.url.hostname, which is derived from the client-controlled HTTP Host header. An attacker able to send requests over the network can spoof the Host header to '127.0.0.1' and bypass the localhost-only restriction, allowing unauthenticated listing (GET /api/v1/agents) and invocation (POST /api/v1/agents/{agent_id}/invoke) of registered agents.
Potential Impact
A remote unauthenticated attacker can bypass the localhost-only authentication restriction by spoofing the Host header, enabling unauthorized access to list and invoke registered agents. This can lead to unauthorized information disclosure and unauthorized command execution within the context of the PraisonAI service.
Mitigation Recommendations
A fix is available in PraisonAI version 4.6.78. Users should upgrade to version 4.6.78 or later to remediate this vulnerability. No other mitigation guidance is provided in the advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gp65-m7q3-4vjw
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ac80f102cdf04f656390507
Added to database: 10/08/2026, 21:45:52 UTC
Last enriched: 10/08/2026, 21:50:36 UTC
Last updated: 10/08/2026, 21:50:36 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.