Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-47395 EUVD-2026-46303GHSA-5cxw-77wg-jrf3PYSEC-2026-2903PYSEC-2026-2942

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

Published Jul 21, 2026 · Updated Jul 21, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.6.40 —
MervinPraison praisonaiagents < 1.6.40 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.6.40 4.6.40 GHSA-5cxw-77wg-jrf3
PyPI praisonaiagents < 1.6.40 1.6.40 GHSA-5cxw-77wg-jrf3

References