Skip to main content

PPTAgent CVE-2026-42079

| EUVDEUVD-2026-27015 HIGH
Eval Injection (CWE-95)
2026-05-04 GitHub_M GHSA-89g2-xw5c-v95p
8.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious LLM prompt
  2. Delivery
    Inject Python exploit into generation output
  3. Exploit
    Victim runs PPTAgent with malicious input
  4. Execution
    eval() executes code with builtins
  5. Persist
    Arbitrary command execution as application user
  6. Impact
    Exfiltrate data or establish persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to run PPTAgent locally and process presentation generation requests that include attacker-influenced content reaching the execute_actions() eval() call. Specific prerequisites: the application must be pre-patch commit 418491a, the user must initiate a presentation generation workflow (UI:R), and the LLM output must contain code strings that reach the vulnerable eval() statement. Attack is local vector (AV:L) requiring the attacker to influence the LLM input/output pipeline, either by compromising the LLM provider, manipulating prompts in shared environments, or social engineering the victim to process malicious generation tasks. No network service exposure or authentication bypass is required (PR:N), but the attacker must have a mechanism to control or inject code into the agentic workflow. Exploitation is limited to environments where PPTAgent is actively used for LLM-driven presentation generation; installations not invoking execute_actions() are unaffected.

Impact

CVSS 8.6 (High) reflects severe impact (C:H/I:H/A:H with scope change) but attack complexity is constrained by local vector (AV:L), no privileges required (PR:N), and mandatory user interaction (UI:R). The victim must run PPTAgent with malicious LLM output or a compromised model that injects exploit code. Real-world risk depends on deployment context: highest for installations using untrusted LLM providers, public model APIs, or user-supplied prompts that could be adversarially crafted. The Changed scope (S:C) indicates sandbox escape potential beyond the application's security context. EPSS and KEV data not provided, but absence from CISA KEV and lack of public POC suggest no widespread exploitation. However, the Python eval() pattern with builtins is a well-understood attack primitive, making exploitation straightforward once an attacker controls LLM input or output. Primary risk is supply chain compromise of the LLM layer or social engineering attacks where users process malicious presentation generation requests. Organizations using PPTAgent in automated pipelines with external LLM APIs face elevated risk of silent code injection.

Exploit ScenarioDerived

An attacker crafts a malicious prompt or compromises an LLM provider to inject Python exploit code into PPTAgent's generation pipeline. When PPTAgent processes the LLM response, the execute_actions() function passes the attacker-controlled string to eval() with builtins in scope. The injected code uses __import__('os').system('malicious_command') to execute arbitrary shell commands with the privileges of the PPTAgent process, potentially exfiltrating files, installing backdoors, or pivoting to other systems. Public exploit code existence is not confirmed from available data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 04, 2026

Arbitrary code execution in PPTAgent allows local attackers to execute Python code by exploiting unsafe eval() of LLM-generated content with unrestricted builtins. The framework's agentic architecture passes AI-generated code directly to eval() with full builtin access, enabling execution of arbitrary system commands. Patch available via commit 418491a which restricts eval() globals to an empty builtins dictionary and adds path traversal protections. CVSS 8.6 with local attack vector and user interaction requirement; no evidence of active exploitation or public POC at time of analysis.

RemediationAI

Update to PPTAgent commit 418491a or later by pulling the latest code from the GitHub repository at https://github.com/icip-cas/PPTAgent/commit/418491a9a1c02d9d93194b5973bb58df35cf9d00. The patch replaces unsafe eval() calls with restricted globals (SAFE_EVAL_GLOBALS = {'__builtins__': {}}) and adds resolve_path_in_workspace() to prevent path traversal attacks. If immediate patching is not feasible, implement compensating controls: restrict PPTAgent execution to isolated containers or VMs with no network access, validate and sanitize all LLM-generated code through static analysis before execution, or disable dynamic code execution features entirely if presentation generation can operate without eval(). Note that disabling eval() may break core framework functionality. Run PPTAgent under least-privilege service accounts with no access to sensitive files or credentials. Monitor process execution for unexpected child processes (shells, network tools) spawned by Python. These workarounds reduce but do not eliminate risk; patching is the only complete mitigation. Refer to GHSA-89g2-xw5c-v95p for vendor guidance.

Affected VersionsENISA

PPTAgent < 418491a9a1c02d9d93194b5973bb58df35cf9d00

Affected Packages

pypi pptagent fix: 1.1.36

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PPTAgent (cpe:2.3:a:icip-cas:pptagent) is an agentic framework that uses LLMs to generate PowerPoint presentations by dynamically executing Python code. The vulnerability stems from CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code) in the execute_actions() function within pptagent/apis.py. The code called eval(line, {}, {func: partial_func}), passing an empty globals dictionary but leaving __builtins__ implicitly available in scope. In Python, eval() with empty globals still has access to all builtin functions (open, exec, __import__, etc.) unless explicitly restricted. This allowed LLM-generated malicious code strings to invoke arbitrary builtins for file system access, module imports, or subprocess execution. The patch replaces the empty globals with SAFE_EVAL_GLOBALS = {'__builtins__': {}} to explicitly remove builtin access. Additional hardening includes path traversal validation via resolve_path_in_workspace() to confine file operations to the designated workspace directory.

Know when Pptagent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.6 HIGH
AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch available
May 04, 2026 - 18:32 EUVD
Patch released
May 04, 2026 - 17:16 nvd
Patch available
CVE Published
May 04, 2026 - 16:57 nvd
HIGH 8.6

DescriptionCVE.org

PPTAgent is an agentic framework for reflective PowerPoint generation. Prior to commit 418491a, PPTAgent is vulnerable to arbitrary code execution via Python eval() of LLM-generated code with builtins in scope. This issue has been patched via commit 418491a.

Executive ViewAI

Why It Matters

CVE-2026-42079 is a high-severity arbitrary code execution vulnerability in PPTAgent that allows local attackers to execute arbitrary Python code through unsafe evaluation of AI-generated content. This affects any organization using PPTAgent for AI-driven presentation automation, potentially compromising systems where the application runs and enabling unauthorized command execution by local users or malicious prompts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict PPTAgent execution to isolated, non-privileged local user accounts with minimal system access; (2) Disable or sandbox Python eval() functionality if application features allow; (3) Implement strict input validation on all prompts before passing to PPTAgent's agentic pipeline; (4) Monitor for unusual subprocess or system command execution originating from PPTAgent processes; (5) Limit PPTAgent deployment to air-gapped or restricted networks until patch is available. Patch commit 418491a is available in source repository-evaluate applying directly if operationally feasible pending official release.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy