# CVE-2026-47395: MervinPraison PraisonAI SSRF in MentionsParser URL expansion

Source: https://junglewise.ai/threats/cve-2026-47395-mervinpraison-praisonai-ssrf-in-mentionsparser-url-expansion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-21. Updated: 2026-07-21  
License: CC BY 4.0 with a link back

CVE-2026-47395 · Severity: medium · CVSS 5.5 · Published 2026-07-21

PraisonAI, a system for managing multi-agent AI teams, contains a vulnerability in its command-line interface (CLI) that automatically processes web links found in user prompts. If a user is tricked into running a prompt containing a malicious link, the system will fetch data from internal or local network services that are normally inaccessible from the outside. This could allow an attacker to steal sensitive information from the user's local machine or internal network by injecting it into the AI's conversation context.

Technologies: [praisonai (PyPI)](https://junglewise.ai/threats/technologies/pypi-praisonai), [praisonaiagents (PyPI)](https://junglewise.ai/threats/technologies/pypi-praisonaiagents). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## 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

  ```sh
  pip install "praisonai>=4.6.40"
  ```

- praisonaiagents (PyPI): upgrade to 1.6.40 or later

  ```sh
  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

## References

- [https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6](https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6)
- [https://github.com/MervinPraison/PraisonAI/pull/1684](https://github.com/MervinPraison/PraisonAI/pull/1684)
- [https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-5cxw-77wg-jrf3](https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-5cxw-77wg-jrf3)

## Related threats

- [PraisonAI authentication bypass in A2U event streaming](https://junglewise.ai/threats/cve-2026-57146-praisonai-a2u-incomplete-authentication-fix-leaves-current-serve)
- [PraisonAI sandbox escape when Landlock unavailable](https://junglewise.ai/threats/cve-2026-57144-praisonai-sandlocksandbox-falls-back-to-unrestricted-subprocess)
- [PraisonAI recipe policy bypass via YAML-approved tools](https://junglewise.ai/threats/cve-2026-57142-praisonai-recipe-workflow-policy-can-be-bypassed-by-declaring-and)
- [PraisonAI shell command injection in compute-bridged file tools](https://junglewise.ai/threats/cve-2026-57117-praisonai-compute-bridged-file-tools-allow-shell-command)
- [PraisonAI AgentOS authentication bypass in FastAPI deployment](https://junglewise.ai/threats/cve-2026-57116-praisonai-agentos-remains-unauthenticated-after-incomplete-fix)
