CVE-2026-51898 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via the CodeExecutor component in the pandas-ai library, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-51898?

CVE-2026-51898 is a critical code injection vulnerability in n/a, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

sinaptik-ai pandas-ai 3.0.0 is vulnerable to Code Injection in CodeExecutor.execute.

Weakness: CWE-94

Which versions are affected by CVE-2026-51898?

How do I fix CVE-2026-51898?

No fix has been published for CVE-2026-51898 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-51898 being exploited?

There is no known exploitation of CVE-2026-51898 in the wild and no public exploit code.

Sources

Also known as GHSA-whj7-cr8f-v2cc.

Is CVE-2026-51898 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free