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.
Severity (CVSS)
| Base score | 8.8 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-287 — Improper Authentication
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MervinPraison | PraisonAI | 0 to <4.6.78; 4.6.78 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2gpf-2492-q9jh (vendor-advisory)
- https://github.com/MervinPraison/PraisonAI/commit/2a855c470077c7d2e2479a575f7ef7f548d51c33 (patch)
- https://github.com/MervinPraison/PraisonAI/commit/846568c7a5d8ce9e71e56e4c213f027c04909753 (patch)
- https://www.vulncheck.com/advisories/praisonai-before-authentication-bypass-via-host-header-spoofing (third-party-advisory)
Generated from the official CVE List on 16 Jul 2026 07:01 UTC.