Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-47391: Unauthenticated code execution in PraisonAI A2A server example

Published Jul 21, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS1.5%75th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
IdentifiersCVE-2026-47391CWE-95 · Improper Neutralization of…

CVE-2026-47391 affects PraisonAI before version 4.6.40. Its first-party Agent-to-Agent (A2A) server example exposes an unauthenticated JSON-RPC endpoint on all network interfaces and registers a calculate(expression) tool implemented using Python eval(). An attacker can submit a message/send request that reaches agent.chat() and induces the LLM to invoke the unsafe calculator, resulting in arbitrary Python execution in the server process. Execution was demonstrated using gemini/gemini-2.5-flash-lite. Affected deployments include those following the official A2A example and similar public, unauthenticated A2A deployments with unsafe tools. The unauthenticated interface also exposes task history and task cancellation APIs.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary Python code execution in the server process, with the permissions available to that process. Testing confirmed attacker-directed execution through creation of a marker file. Unauthenticated access to task history and task cancellation APIs additionally exposes task information and permits interference with task execution. Exploitation has also been observed using audit-style natural-language framing to induce the victim agent to invoke the calculator with a reverse-shell payload.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, disable or unpublish the vulnerable A2A server example, restrict network exposure of the A2A endpoint to trusted clients only, and require authentication in front of the A2A JSON-RPC interface. Remove the calculate(expression) tool or replace it with a safe parser that does not execute arbitrary Python expressions. Limit agent access to dangerous local capabilities and review other registered tools for prompt-reachable code execution or sensitive side effects.

Remediation

Patch, then assume compromise.

Upgrade PraisonAI to version 4.6.40 or later, which patches the vulnerability.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-47391 exploited in the wild?
Yes. As of Oct 9, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-47391?
Yes. As of Oct 9, 2026, Mallory has reports of a public exploit for CVE-2026-47391.
Is there a patch for CVE-2026-47391?
Upgrade PraisonAI to version 4.6.40 or later, which patches the vulnerability.
How severe is CVE-2026-47391?
CVE-2026-47391 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 1.5% (75th percentile) as of Oct 9, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.