NetSight
high8.2No CVE yet

GHSA-gp65-m7q3-4vjw

Duplicate Advisory: PraisonAI: Call API localhost-only authentication bypass via spoofed Host header

Impact

### 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.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read, high risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
pippraisonai<= 4.6.77none recorded

Weakness classification

References