CVE-2025-1497 Remote Code Execution in PlotAI
Attackers can execute arbitrary Python code via unvalidated LLM output in PlotAI, requiring manual code modification to exploit.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-1497?
CVE-2025-1497 is a critical code injection vulnerability in MLJAR PlotAI, published on 10 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability, that could result in Remote Code Execution (RCE), has been found in PlotAI. Lack of validation of LLM-generated output allows attacker to execute arbitrary Python code. Vendor commented out vulnerable line, further usage of the software requires uncommenting it and thus accepting the risk. The vendor does not plan to release a patch to fix this vulnerability.
Which versions are affected by CVE-2025-1497?
3 open source packages ship an affected version, including plotai. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
plotai PyPI | All versions | 0.0.7 |
plotai PyPI | All versions | 0.0.7 |
plotai PyPI | All versions | 0.0.7 |
Products include Mljar Plotai.
How do I fix CVE-2025-1497?
Upgrade plotai to 0.0.7 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-1497 being exploited?
There is no known exploitation of CVE-2025-1497 in the wild and no public exploit code.
Sources
Also known as GHSA-2hmp-5wqg-f24h, PYSEC-2025-22.