VYPR
Critical severityNVD Advisory· Published Mar 10, 2025· Updated Oct 3, 2025

Remote Code Execution in PlotAI

CVE-2025-1497

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
plotaiPyPI
< 0.0.70.0.7

Affected products

1

Patches

1
bdcfb13484f0

comment out exec() method because of securith issues

https://github.com/mljar/plotaiPiotrFeb 14, 2025via ghsa
1 file changed · +6 1
  • plotai/code/executor.py+6 1 modified
    @@ -12,7 +12,12 @@ def run(self, code, globals_env=None, locals_env=None):
                     if not line.startswith("```"):
                         tmp_code += line + "\n"
     
    -            exec(tmp_code, globals_env, locals_env)
    +            # please be aware of security issue with exec functions
    +            # LLM can execute arbitrary code
    +            # if you are aware of security issues, please uncomment below line
    +
    +            # exec(tmp_code, globals_env, locals_env)
    +            
             except Exception as e:
                 return str(e)
             return None
    \ No newline at end of file
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.