Duplicate Advisory: PraisonAI: Call API localhost-only authentication bypass via spoofed Host header
GHSA-gp65-m7q3-4vjw
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-2gpf-2492-q9jh. This link is maintained to preserve external references.
Original Description
PraisonAI before 4.6.78 contains an authentication bypass in the Call API agent invocation endpoints (src/praisonai/praisonai/api/agent_invoke.py) when PRAISONAI_CALL_AUTH=disabled is configured. The safeguard intended to restrict the disabled-auth opt-out to localhost binding derives the bind host from request.url.hostname, which is taken from the client-controlled HTTP Host header. A remote, unauthenticated attacker who can reach the service over the network can send a spoofed 'Host: 127.0.0.1' header to bypass the localhost-only restriction and list (GET /api/v1/agents) and invoke (POST /api/v1/agents/{agent_id}/invoke) registered agents without authentication.
References
- WEB https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2gpf-2492-q9jh
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-61435
- WEB https://github.com/MervinPraison/PraisonAI/commit/2a855c470077c7d2e2479a575f7ef7f548d51c33
- WEB https://github.com/MervinPraison/PraisonAI/commit/846568c7a5d8ce9e71e56e4c213f027c04909753
- WEB https://www.vulncheck.com/advisories/praisonai-before-authentication-bypass-via-host-header-spoofing
Ready to move
Start Securing
Free, no credit card | First findings in minutes