Vulnerabilities in pkg:pypi/plotai
PACKAGECVE-2025-1497 is a CRITICAL (CVSS 9.8) plotai eval vulnerability vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Plotai libraries in the PyPI ecosystem. The issue involves plotai eval vulnerability. Remediation is available by upgrading affected packages to version 0.0.7.
pkg:pypi/plotai
Vulnerability advisories affecting package pkg:pypi/plotai. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2hmp-5wqg-f24h | CVE-2025-1497 | CRITICAL | PlotAI eval vulnerability |
CVE-2025-1497 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-1497
To remediate this vulnerability, upgrade all affected Plotai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install plotai>=0.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show plotai
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-1497, inspect your installed packages using pip:
pip show plotai
Analyze the terminal output to locate any version of Plotai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.7), your application is affected.
Note: The pip show plotai command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Plotai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-1497 Affected Plotai Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
plotai
|
PyPI |
< 0.0.7
|
0.0.7
|
References
Frequently Asked Questions
What is CVE-2025-1497?
Which Plotai versions are affected?
What version fixes CVE-2025-1497?
Is plotai affected?
What is the CVSS score of CVE-2025-1497?
What CWE is associated with CVE-2025-1497?
How can I check PyPI dependencies for CVE-2025-1497?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2hmp-5wqg-f24h",
"modified" : "2025-10-03T13:26:29Z",
"published" : "2025-03-10T15:30:47Z",
"aliases" : [ "CVE-2025-1497" ],
"summary" : "PlotAI eval vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "plotai"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1497"
}, {
"type" : "WEB",
"url" : "https://github.com/mljar/plotai/commit/bdcfb13484f0b85703a4c1ddfd71cb21840e7fde"
}, {
"type" : "WEB",
"url" : "https://cert.pl/en/posts/2025/03/CVE-2025-1497"
}, {
"type" : "WEB",
"url" : "https://cert.pl/posts/2025/03/CVE-2025-1497"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mljar/plotai"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/plotai/PYSEC-2025-22.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77", "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-10T22:21:12Z",
"nvd_published_at" : "2025-03-10T14:15:24Z"
}
}