# CVE-2026-47391: PraisonAI's unauthenticated A2A official example can reach real LLM-driven `eval()` tool execution

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.50%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T22:31:26.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-vg22-4gmj-prxw, PYSEC-2026-478
- Weaknesses: CWE-95, CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to version 4.6.40, PraisonAI's first-party A2A server example exposes an unauthenticated A2A JSON-RPC endpoint and registers a `calculate(expression)` tool implemented with Python `eval()`. The example also binds to `0.0.0.0`. A remote unauthenticated attacker can send `message/send` to `/a2a`; the request reaches `agent.chat()`, and a real LLM can invoke the registered `calculate` tool. In testing with `gemini/gemini-2.5-flash-lite`, this resulted in arbitrary Python execution in the server process, confirmed by creation of a marker file from an unauthenticated HTTP request. The issue affects deployments following the official A2A example or similar unauthenticated public A2A deployments with unsafe tools. The default unauthenticated A2A surface also exposes task history and task cancellation APIs, increasing confidentiality and integrity impact. Version 4.6.40 patches the issue.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-vg22-4gmj-prxw> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI/pull/1793>
- <https://github.com/MervinPraison/PraisonAI/commit/e0fb8e7dd1ee6759c18ed07f436c21dbd9c20747>
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-vg22-4gmj-prxw> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47391> (advisory)

## Sources

- CVE List: [CVE-2026-47391](https://www.cve.org/CVERecord?id=CVE-2026-47391), CVE Terms of Use, modified 2026-07-23
- GitHub Advisory Database: [GHSA-vg22-4gmj-prxw](https://github.com/advisories/GHSA-vg22-4gmj-prxw), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2026-47391](https://nvd.nist.gov/vuln/detail/CVE-2026-47391), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-478](https://osv.dev/vulnerability/PYSEC-2026-478), CC-BY-4.0, modified 2026-07-13

---

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