Skip to main content
← All vulnerabilities
CVE-2026-47395PYSEC-2026-2903GHSA-5CXW-77WG-JRF3PYSEC-2026-2942

PraisonAI CLI automatically resolves @url mentions in prompt text and can read loopback URLs into model context

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.6.40, 1.6.40
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

PraisonAI is a multi-agent teams system. Prior to version 4.6.40 of PraisonAI, corresponding to version 1.6.40 of praisonaiagents, PraisonAI's direct-prompt CLI automatically expands `@url:` mentions in raw prompt text before agent execution begins. If a prompt contains `@url:<http-or-https-url>`, the CLI calls `MentionsParser.process(...)`. The `@url:` handler then performs a direct `urllib.request.urlopen()` request to the attacker-controlled URL and returns the response body. That response body is prepended to the final model prompt context. There is no loopback/private-address restriction, no metadata-service restriction, and no approval gate before the fetch. As a result, attacker-influenced prompt text can cause the operator's machine to fetch localhost-only HTTP resources and inject the response into model context. PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain a fix.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MervinPraison PraisonAI

    fixed in 4.6.40

  • MervinPraison praisonaiagents

    fixed in 1.6.40

  • praisonaiPyPI

    fixed in 4.6.40

  • praisonaiagentsPyPI

    fixed in 1.6.40

References 3

GitHub · MervinPraison/PraisonAI