# CVE-2026-47395: PraisonAI CLI automatically resolves @url mentions in prompt text and can read loopback URLs into model context

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T22:29:47.000Z
- Modified: 2026-07-21T18:59:43.940Z
- Also known as: GHSA-5cxw-77wg-jrf3, PYSEC-2026-2903, PYSEC-2026-2942
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.40
- MervinPraison praisonaiagents: < 1.6.40
- praisonaiagents (PyPI): before 1.6.40
- praisonai (PyPI): before 4.6.40

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-5cxw-77wg-jrf3> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI/pull/1684>
- <https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6>
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-5cxw-77wg-jrf3> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47395> (advisory)
- <https://pypi.org/project/praisonaiagents> (package)

## Sources

- CVE List: [CVE-2026-47395](https://www.cve.org/CVERecord?id=CVE-2026-47395), CVE Terms of Use, modified 2026-07-21
- GitHub Advisory Database: [GHSA-5cxw-77wg-jrf3](https://github.com/advisories/GHSA-5cxw-77wg-jrf3), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-47395](https://nvd.nist.gov/vuln/detail/CVE-2026-47395), Public domain, modified 2026-07-21
- PyPA Advisory Database: [PYSEC-2026-2903](https://osv.dev/vulnerability/PYSEC-2026-2903), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2942](https://osv.dev/vulnerability/PYSEC-2026-2942), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-47395 · Whole record: https://cve.day/CVE-2026-47395.json · Rebuilt by cve.day 2026-11-25T22:59:29.352Z
