mljar/plotai · Security
PlotAI eval vulnerability
- GHSA ID
- GHSA-2hmp-5wqg-f24h
- CVE ID
- CVE-2025-1497
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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. PlotAI commented out vulnerable line, further usage of the software requires uncommenting it and thus accepting the risk.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1497 ↗
- https://github.com/mljar/plotai/commit/bdcfb13484f0b85703a4c1ddfd71cb21840e7fde ↗
- https://cert.pl/en/posts/2025/03/CVE-2025-1497 ↗
- https://cert.pl/posts/2025/03/CVE-2025-1497 ↗
- https://github.com/mljar/plotai ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/plotai/PYSEC-2025-22.yaml ↗
- https://github.com/advisories/GHSA-2hmp-5wqg-f24h ↗