Quick answers
- Is CVE-2026-47395 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-47395 being exploited in the wild.
- How severe is CVE-2026-47395?
- Medium severity, with a CVSS score of 5.5, published 21 July 2026.
- Which products and versions are affected?
- praisonai (PyPI) ECOSYSTEM:introduced=0,fixed=4.6.40; praisonaiagents (PyPI) ECOSYSTEM:introduced=0,fixed=1.6.40.
- Is there a fix for CVE-2026-47395?
- Yes. praisonai (PyPI): upgrade to 4.6.40 or later; praisonaiagents (PyPI): upgrade to 1.6.40 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-47395 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-47395?
- Check whether you run praisonai (PyPI) or praisonaiagents (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- praisonai (PyPI): upgrade to 4.6.40 or later
pip install "praisonai>=4.6.40" - praisonaiagents (PyPI): upgrade to 1.6.40 or later
pip install "praisonaiagents>=1.6.40"
Technical details
A Server-Side Request Forgery (SSRF) vulnerability exists in the PraisonAI direct-prompt CLI due to unrestricted URL fetching in the MentionsParser component. The CLI automatically expands '@url:' mentions using `urllib.request.urlopen()` without validating the destination address. An attacker can provide a crafted prompt that forces the application to fetch content from loopback addresses (localhost), private RFC1918 networks, or cloud metadata services. The fetched content is then prepended to the model's prompt context, leading to local information disclosure. The issue is fixed in PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 by implementing loopback and private address restrictions.
Affected products
- MervinPraison PraisonAI < 4.6.40
- MervinPraison praisonaiagents < 1.6.40
Identifiers
- CVE-2026-47395
- GHSA-5cxw-77wg-jrf3
- PYSEC-2026-2903
- PYSEC-2026-2942
Timeline
- 2026-05-19: patched: Fixes merged in security hardening batch PR #1684
- 2026-07-21: advisory: GHSA-5cxw-77wg-jrf3 published