CVE-2026-61435

PraisonAI before 4.6.78 Authentication Bypass via Host Header Spoofing

Published Jul 15, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

PraisonAI before version 4.6.78 has an authentication bypass that allows a remote attacker to list and invoke agents without authentication. The vulnerability arises when the PRAISONAI_CALL_AUTH setting is disabled; the application mistakenly trusts the client-supplied Host header to determine whether the connection is local. By sending a spoofed Host header such as "127.0.0.1", a non-privileged attacker can trick the service into treating the request as local and therefore bypass the authentication check. This weakness falls under the authentication bypass category (CWE-287). The consequence is the ability to perform all agent operations exposed through the /api/v1/agents endpoints without credentials.

Affected Systems

The affected product is MervinPraison PraisonAI. All releases prior to version 4.6.78 are vulnerable; versions 4.6.78 and later contain the fix as indicated by the commit information listed in the references.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity risk. The EPSS score is reported as < 1%, meaning exploitation attempts are currently very infrequent, and the vulnerability is not listed in the CISA KEV catalog. A remote attacker who can reach the service over the network can exploit the flaw by sending a crafted Host header. No special privileges or additional access are required beyond network connectivity to the target system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.78 or later.
  • If an upgrade is not immediately possible, disable the PRAISONAI_CALL_AUTH=disabled configuration or ensure it is only enabled on an isolated, localhost-bound instance.
  • Implement network controls to limit remote access to the API endpoints, such as firewall rules or reverse proxies, and validate the Host header server-side to ensure it matches the expected hostname.

Generated by OpenCVE AI on July 31, 2026 at 03:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2gpf-2492-q9jh PraisonAI: Call API localhost-only authentication bypass via spoofed Host header
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title PraisonAI before 4.6.78 Authentication Bypass via Host Header Spoofing
First Time appeared Praison
Praison praisonai
Weaknesses CWE-287
CPEs cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*
Vendors & Products Praison
Praison praisonai
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N'}

cvssV4_0

{'score': 8.8, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 15, 2026, 5:58 PM
Reserved
Jul 9, 2026, 2:05 PM
Status
Deferred
Published
Jul 15, 2026, 12:18 PM
Modified
Oct 24, 2026, 9:10 PM