PraisonAI Authentication Bypass Exploited Within 4 Hours of Disclosure

CVE in this postCVE-2026-44338All RedEye CVEs →
Active Exploitation CVE-2026-44338
PraisonAI ships with authentication disabled by default, exposing the Flask API to unauthenticated callers.
Time to Exploit
3h 44m
Affected
PraisonAI 2.5.6 — 4.6.33
Patch Status
Fixed in 4.6.34
CVE-Detector 146.190.133.49 ~70 reqs / 50s ATTACKER GET /agents no auth header AUTH_ENABLED = False CVE-2026-44338 PraisonAI Flask API v2.5.6 – v4.6.33 HTTP 200 OK agents.yaml leaked agents.yaml configs exposed /agents + /chat quota drain · workflow exec EXPOSED Disclosure → Exploit 3h 44m Patched in PraisonAI 4.6.34
TL;DR
  • What: CVE-2026-44338 — PraisonAI's Flask API hard-codes AUTH_ENABLED = False, exposing all endpoints to unauthenticated callers across 32 versions (2.5.6 – 4.6.33).
  • Impact: Attackers can enumerate agent configs via /agents, trigger arbitrary workflows via /chat, drain model API quotas, and leak sensitive agents.yaml contents — scaled by whatever permissions the agent holds.
  • Fix / mitigation: Upgrade to PraisonAI 4.6.34; rotate all credentials in agents.yaml; network-segment the API server to authorized clients only.
  • Who's at risk: Any organization running an internet-exposed PraisonAI instance on versions 2.5.6 – 4.6.33, particularly those whose agents have access to sensitive data or infrastructure controls.

Threat actors began probing PraisonAI instances for CVE-2026-44338 within four hours of its public disclosure on May 11, 2026, underscoring the compressed timeframe organizations now face between vulnerability disclosure and active exploitation. The authentication bypass vulnerability, affecting the open-source multi-agent orchestration framework, allows attackers to access protected API endpoints without credentials.

Technical Details: Hard-Coded Authentication Failure

CVE-2026-44338 stems from a fundamental design flaw in PraisonAI's legacy Flask API server. The src/praisonai/api_server.py file hard-codes AUTH_ENABLED = False and AUTH_TOKEN = None, shipping with authentication disabled by default. This configuration exposes critical endpoints to any caller capable of reaching the server, requiring no token or credentials to invoke protected functionality.

The vulnerability affects all versions of the Python package from 2.5.6 through 4.6.33, representing 32 consecutive vulnerable releases. Version 4.6.34 contains the patch. Security researcher Shmulik Cohen discovered and reported the flaw, which was addressed by maintainers earlier in May 2026.

Attack Surface and Impact

Successful exploitation enables four distinct attack vectors with varying degrees of impact. Attackers can enumerate configured agent files through the /agents endpoint, revealing the structure and capabilities of deployed AI agents. The /chat endpoint allows unauthenticated triggering of locally configured agents.yaml workflows, executing whatever operations the agent is permitted to perform.

Critical Context

The impact scales with the permissions granted to agents.yaml. Organizations using PraisonAI agents with access to sensitive data, infrastructure controls, or external APIs face significantly higher risk than those with limited agent capabilities.

Exploitation Timeline: 224 Minutes

Sysdig's threat intelligence team documented the rapid weaponization of CVE-2026-44338. The advisory became public at 13:56 UTC on May 11, 2026. By 17:40 UTC the same day—exactly 3 hours and 44 minutes later—automated scanners were actively probing internet-exposed PraisonAI instances for the specific vulnerability.

The scanning activity originated from IP address 146.190.133[.]49 and identified itself as CVE-Detector/1.0. The scanner executed two distinct passes separated by eight minutes. Each pass delivered approximately 70 requests within 50 seconds, following a systematic reconnaissance pattern. The first pass targeted generic disclosure paths including /.env, /admin, /users/sign_in, /eval, /calculate, and /Gemfile.lock. The second pass specifically probed AI-agent surfaces, including PraisonAI's vulnerable endpoints.

The targeted probe consisted of a single GET request to /agents with no Authorization header and User-Agent set to CVE-Detector/1.0. Vulnerable instances returned HTTP 200 OK with body content revealing agent configurations: {"agent_file":"agents.yaml","agents":[...]}. Notably, the scanner did not attempt POST requests to the /chat endpoint during either pass, suggesting reconnaissance rather than exploitation—attackers confirming vulnerable targets for later compromise.

The New Normal: Single-Digit Hour Exploitation Windows

This incident exemplifies an accelerating trend in vulnerability weaponization. Adversary tooling now covers the entire AI and agent ecosystem, regardless of project size or market recognition. PraisonAI, while not a household name, received immediate attention from automated scanning infrastructure designed to capitalize on newly disclosed flaws.

Industry Implications

The sub-four-hour exploitation window establishes a new baseline expectation for AI framework vulnerabilities. Organizations deploying any software with unauthenticated defaults must assume active exploitation attempts within single-digit hours of disclosure, regardless of the project's market position.

This compressed timeline invalidates traditional patch management approaches that rely on prioritization windows measured in days or weeks. For internet-facing AI infrastructure, the decision to patch must occur within hours of disclosure, not after internal review cycles.

Remediation Requirements

Organizations running PraisonAI must upgrade to version 4.6.34 immediately. The patch addresses the authentication bypass by enabling proper credential verification for the legacy Flask API server. Beyond patching, security teams should execute four additional response actions.

Audit all existing PraisonAI deployments to identify instances running vulnerable versions 2.5.6 through 4.6.33. Review model provider billing statements for anomalous activity patterns indicating quota consumption attacks. Rotate all credentials referenced in agents.yaml files, as any exposed instance may have leaked configuration details to reconnaissance scans. Finally, implement network segmentation to restrict API server access to authorized clients only, reducing exposure even if authentication mechanisms fail.

Strategic Takeaway

The PraisonAI exploitation demonstrates that AI infrastructure has fully entered the mainstream target landscape. Automated adversary tooling now monitors CVE disclosures for AI frameworks with the same intensity previously reserved for enterprise platforms like Exchange or Confluence. Organizations building or deploying AI agents must architect for rapid response, maintaining hot-patch capabilities and assuming zero grace period between disclosure and exploitation. Any AI framework shipping with authentication disabled by default represents unacceptable risk in the current threat environment.

Questions about your exposure?

RedEye Security provides assessments for organizations that need to understand their real risk.

Talk to us