{"id":"CVE-2026-47395","published":"2026-07-21T15:52:52Z","modified":"2026-07-21T17:15:13Z","title":"PraisonAI CLI automatically resolves @url mentions in prompt text and can read loopback URLs into model context","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00183,"percentile":0.04606,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-5cxw-77wg-jrf3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MervinPraison/PraisonAI/pull/1684","tags":["x_refsource_MISC"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6","tags":["x_refsource_MISC"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":0.92},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.40"]},{"vendor":"MervinPraison","product":"praisonaiagents","versions":["< 1.6.40"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T17:09:32.354388Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.6.40"],"patched":["1.6.40"],"from":["GHSA-5cxw-77wg-jrf3","PYSEC-2026-2942"],"provenance":"source"},{"ecosystem":"PyPI","package":"PraisonAI","vulnerableRanges":["<4.6.40"],"patched":["4.6.40"],"from":["GHSA-5cxw-77wg-jrf3","PYSEC-2026-2903"],"provenance":"source"}],"summary":{"text":"PraisonAI's direct-prompt CLI, prior to version 4.6.40 (praisonaiagents prior to 1.6.40), automatically fetches any @url: mention found in raw prompt text using an unrestricted HTTP request and prepends the response body to the model prompt, with no loopback or private-address restriction and no approval step. An attacker who can influence prompt text and get a user to run it can cause the operator's machine to read localhost-only HTTP resources and expose their contents to the model context, which requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:28Z"},"euvd":{"id":"EUVD-2026-46303","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44339","published":"2026-05-08","fixed":"1.6.37","kev":false,"link":{"from":"CVE-2026-44339","to":"CVE-2026-47395","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonaiagents","fromFixed":"1.6.37","toFixed":"1.6.40","daysApart":74}]}},{"cve":"CVE-2026-47390","published":"2026-07-21","fixed":"1.6.40","kev":false},{"cve":"CVE-2026-47392","published":"2026-07-21","fixed":"1.6.40","kev":false},{"cve":"CVE-2026-47395","published":"2026-07-21","fixed":"1.6.40","kev":false},{"cve":"CVE-2026-55522","published":"2026-08-05","fixed":"1.6.58","kev":false},{"cve":"CVE-2026-55523","published":"2026-08-05","fixed":"1.6.58","kev":false},{"cve":"CVE-2026-55524","published":"2026-08-05","fixed":"1.6.58","kev":false}],"package":"PyPI:praisonaiagents"}}