Arbitrary code execution via builtins-enabled eval
Published May 4, 2026 · Updated May 4, 2026
Eval injection in PPTAgent before 1.1.36 allows attackers to execute arbitrary code when crafted content influences LLM-generated slide actions. CodeExecutor.execute_actions passes each generated action to Python eval() with empty globals, causing Python to insert builtins while argument expressions remain unchecked. Exploitation requires PPTAgent to process attacker-influenced slide or document content and the coder model to reproduce a malicious expression, which then runs with the host or container process privileges.
Summary
What happened
Eval injection in PPTAgent before 1.1.36 allows attackers to execute arbitrary code when crafted content influences LLM-generated slide actions. CodeExecutor.execute_actions passes each generated action to Python eval() with empty globals, causing Python to insert builtins while argument expressions remain unchecked. Exploitation requires PPTAgent to process attacker-influenced slide or document content and the coder model to reproduce a malicious expression, which then runs with the host or container process privileges.
The record
- CVE
- CVE-2026-42079
- Published
- May 4, 2026
- Updated
- May 4, 2026
- Vendor
- Chinese Information Processing Laboratory
- Product
- PPTAgent
- Classifications
- CWE-95, T1204.002, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 4, 2026CVE publishedPublication date reported by the CVE source.
- May 4, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 418491a9a1c02d9d93194b5973bb58df35cf9d00
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- replace_image eval-injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo