title: PraisonAI Unauthenticated Agent API Exploitation (CVE-2026-44338)
id: ATR-2026-00531
rule_version: 1
status: experimental
description: |
  Detects CVE-2026-44338 (CVSS ~9.1): PraisonAI's legacy api_server.py exposes /agents and /chat HTTP endpoints without authentication by default. An unauthenticated remote attacker can POST to these endpoints to invoke agent execution on the host. Exploited in the wild within 4 hours of disclosure. Detection covers (a) MCP/tool configs pointing at PraisonAI /agents or /chat endpoints without auth headers, (b) tool call payloads invoking PraisonAI agent API without Authorization context, (c) content describing or weaponising the unauthenticated surface. Affected versions 2.5.6–4.6.33, patched in 4.6.34. CWE-306 (Missing Authentication for Critical Function).
author: ATR Community
date: 2026/05/20
schema_version: '0.1'
detection_tier: pattern
maturity: test
severity: critical
references:
  owasp_llm:
    - LLM06:2025
  owasp_agentic:
    - ASI03:2026
    - ASI05:2026
  mitre_atlas:
    - AML.T0049 - Exploit Public-Facing Application
    - AML.T0040 - AI Model Inference API Access
  mitre_attack:
    - T1190 - Exploit Public-Facing Application
    - T1059 - Command and Scripting Interpreter
    - T1078 - Valid Accounts
  cve:
    - CVE-2026-44338
metadata_provenance:
  mitre_atlas: human-reviewed
  owasp_llm: human-reviewed
  owasp_agentic: human-reviewed
compliance:
  eu_ai_act:
    - article: '15'
      context: CVE-2026-44338 PraisonAI exposes agent execution endpoints without authentication; Article 15 cybersecurity requirements mandate that AI agent servers enforce authentication on every execution endpoint before network exposure.
      strength: primary
    - article: '9'
      context: Article 9 risk management must enumerate unauthenticated agent API endpoints as a critical access-control failure mode for any multi-agent orchestration framework.
      strength: primary
  nist_ai_rmf:
    - function: Manage
      subcategory: MG.2.3
      context: Runtime detection of unauthenticated tool invocations against PraisonAI /agents and /chat endpoints is the primary risk treatment for CVE-2026-44338.
      strength: primary
    - function: Map
      subcategory: MP.5.1
      context: Unauthenticated agent execution surfaces must be catalogued as high-severity threats in the organizational AI risk register for any deployment integrating PraisonAI.
      strength: secondary
    - subcategory: GV.6.1
      function: Govern
      context: Third-party multi-agent frameworks (including PraisonAI) must be assessed under GV.6.1 supplier risk management for missing-authentication-on-critical-function controls before agent pipelines depend on them.
      strength: secondary
    - subcategory: MS.2.7
      context: NIST AI RMF MEASURE 2.7 (security and resilience evaluated and documented) is supported by this rule's runtime detection of the tool-poisoning technique (PraisonAI Unauthenticated Agent API Exploitation (CVE-2026-44338)).
      strength: primary
    - subcategory: MG.3.2
      context: NIST AI RMF MANAGE 3.2 (pre-trained models monitored as part of maintenance) is supported where this rule detects the tool-poisoning technique (PraisonAI Unauthenticated Agent API Exploitation (CVE-2026-44338)).
      strength: secondary
  iso_42001:
    - clause: '8.1'
      context: Operational controls under clause 8.1 must detect and block tool invocations targeting PraisonAI agent execution endpoints without a verified authentication mechanism.
      strength: primary
    - clause: '8.3'
      context: ISO/IEC 42001 Clause 8.3 (AI risk treatment) is supported by this rule, which implements runtime detection of the tool-poisoning technique (PraisonAI Unauthenticated Agent API Exploitation (CVE-2026-44338)) as a treatment control.
      strength: secondary
tags:
  category: tool-poisoning
  subcategory: mcp-missing-authentication
  scan_target: mcp
  confidence: high
agent_source:
  type: mcp_exchange
  framework:
    - praisonai
    - any
  provider:
    - any
detection:
  condition: any
  false_positives:
    - Internal-only PraisonAI deployments accessible solely over authenticated VPN where the API endpoint is intentionally gated by perimeter auth.
    - Security scanning tooling that probes the PraisonAI API endpoint to detect CVE-2026-44338 exposure.
    - Educational documentation describing the PraisonAI API architecture.
  conditions:
    - field: tool_response
      operator: regex
      value: (?i)"url"\s*:\s*"https?://[^"]{0,120}(?:praisonai|praison[_\-]?ai|praison\.ai)[^"]{0,60}(?:/agents?|/chat|/api/v1/(?:agents?|chat))[^"]*"(?![\s\S]{0,400}"(?:auth|headers?|token|apiKey|authorization|bearer)")
      description: MCP server config pointing at PraisonAI /agents or /chat endpoint URL without auth/headers field — unauthenticated surface exposure
    - field: tool_response
      operator: regex
      value: (?i)(?:"(?:url|endpoint|target)"\s*:\s*"[^"]{0,120}(?:praisonai|praison[_\-]?ai)[^"]{0,60}(?:/agents?|/chat)"|(?:curl|wget|fetch|requests?\.post)[^\n]{0,200}(?:praisonai|praison[_\-]?ai)[^\n]{0,100}(?:/agents?|/chat))(?![\s\S]{0,400}(?:authorization|bearer|api[_\-]?key|x-api-key|token|x-auth))
      description: HTTP call to PraisonAI agent execution endpoint in tool arguments without auth header — CVE-2026-44338 direct exploitation
    - field: content
      operator: regex
      value: (?i)praison[_\-]?ai[^\n]{0,200}(?:/agents?|/chat|api_server|legacy\s+api)[^\n]{0,200}(?:no\s+auth|missing\s+auth|unauth(?:enticated|orised)?|without\s+(?:auth|credentials?|token)|bypass\s+auth|cve[_\-]?2026[_\-]?44338|default(?:s)?\s+(?:disable|off|open)|execut(?:e|ing)\s+(?:agent|task)|remote\s+(?:code|command))
      description: Content describing or weaponising the PraisonAI unauthenticated agent API — CVE-2026-44338 framing
    - field: tool_response
      operator: regex
      value: (?i)"tools"\s*:\s*\[(?:[^\]]{0,400}(?:run_agent|execute_agent|create_agent|agent_run|praisonai[_\-](?:run|execute|create|task))[^\]]{0,400})\](?![\s\S]{0,600}(?:www[_\-]?authenticate|authorization|x-api-key|bearer\s+token))
      description: PraisonAI MCP handshake exposes agent execution tools without an authentication challenge
response:
  actions:
    - block_tool
    - alert
    - escalate
  auto_response_threshold: critical
  message_template: |
    [ATR-2026-00531] CRITICAL: PraisonAI unauthenticated agent API exploitation detected (CVE-2026-44338, CVSS ~9.1). An MCP tool call or HTTP request targets PraisonAI /agents or /chat endpoints without an authentication credential present in the exchange, or content describes this unauthenticated attack surface. Block tool invocation immediately; upgrade PraisonAI to 4.6.34+; require authentication on all agent execution endpoints before network exposure.
confidence: 87
