PraisonAI Host Header Spoofing Flaw Lets Attackers Bypass Call API Authentication
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jul 15, 2026

PraisonAI versions before 4.6.78 are affected by CVE-2026-61435, an authentication bypass in the Call API agent invocation functionality. The flaw appears when PRAISONAI_CALL_AUTH=disabled is configured: the application tries to restrict unauthenticated access to localhost, but determines the request origin from the client-controlled HTTP Host header via request.url.hostname, allowing an attacker to spoof 127.0.0.1 and appear local.
A remote unauthenticated attacker who can reach the service can exploit the issue to access agent-related endpoints without logging in, including GET /api/v1/agents to enumerate registered agents and POST /api/v1/agents/{agent_id}/invoke to invoke them. The vulnerable logic is reported in src/praisonai/praisonai/api/agent_invoke.py; the issue is classified as CWE-287 and carries a CVSS v3.1 score vector of AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N, indicating low-complexity network exploitation with high integrity impact.
Why it matters
Impact assessment
PraisonAI deployments running versions before 4.6.78 are exposed to remote authentication bypass if they have PRAISONAI_CALL_AUTH=disabled and are reachable over the network. The impact is primarily unauthorized agent enumeration and agent invocation, creating high integrity risk because attackers can trigger agent actions without valid credentials.
This is a targeted exposure rather than a universal flaw because exploitation depends on a specific insecure configuration, but any internet- or network-exposed vulnerable instance is low-effort to abuse. No confirmed in-the-wild exploitation is stated in the references, but the attack requires no authentication, no user interaction, and only network access.
Affected populations
- Organizations using MervinPraison PraisonAI
- Deployments of
pkg:pypi/praisonaibefore version4.6.78 - Environments where
PRAISONAI_CALL_AUTH=disabledis set - Instances exposing the Call API service to untrusted networks
Severity and business risk
- Authentication bypass enables unauthorized access to agent-related API functions
- Confidentiality impact is limited but present through agent enumeration
- Integrity impact is high because attackers can invoke registered agents remotely
- Potential downstream effects depend on what connected agents can do, including workflow abuse, unintended actions, and operational disruption
- Reputational and financial impact may follow if invoked agents interact with internal systems, data stores, or external services
Scope and exploitation status
- Scope is configuration-dependent, not all PraisonAI deployments
- Exposure is broader in environments that disabled call authentication for convenience or local-only assumptions
- Exploitation is feasible remotely by spoofing the
Hostheader as127.0.0.1 - No published incidents or active exploitation campaigns are cited in the provided references


