Skip to main content

PPTAgent CVE-2026-42080

| EUVDEUVD-2026-27017 MEDIUM
Path Traversal (CWE-22)
2026-05-04 GitHub_M GHSA-pxhg-7xr2-w7xg
4.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Send authenticated request to PPTAgent API
  2. Delivery
    Supply path traversal sequence in save_generated_slides parameter
  3. Exploit
    Vulnerable code resolves path without validation
  4. Execution
    File written outside workspace
  5. Impact
    Arbitrary file overwritten or created

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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 following specific conditions: (1) authenticated access to PPTAgent (PR:L per CVSS vector), (2) the ability to supply or influence the pptx_path parameter passed to save_generated_slides function (either directly via API call or indirectly through LLM-generated code), and (3) user or system action to trigger the save operation (UI:R). The vulnerability applies to all path inputs processed by the function-there is no protection by default configuration or non-standard setup. Exploitation is NOT limited by PPTAgent version or platform; any version before commit 418491a using the vulnerable save_generated_slides code path is susceptible. The workspace root is typically the current working directory or application root, meaning relative traversal attempts (../) can potentially reach parent directories, system directories, or user home if PPTAgent is granted permission. Limiting factor: if PPTAgent is containerized or chrooted, traversal is confined to the container/chroot; if run with restricted OS-level permissions (e.g., in a Docker container with read-only filesystem), file write attempts may fail.

Impact

CVSS 4.6 reflects network accessibility (AV:N) but requires authenticated access (PR:L) and user interaction (UI:R), limiting real-world exposure. EPSS data not provided. Exploitation probability is moderate: while the vulnerability is straightforward (low AC:L), the PR:L + UI:R combination restricts the threat model to authenticated users who must be convinced to trigger the save action with attacker-controlled input. No KEV listing indicates no confirmed active exploitation in the wild. The integrity impact (I:L) and availability impact (A:L) are localized to the affected system with scope unchanged (S:U), meaning privilege escalation is not possible through this vector alone. The underlying issue is serious from a design perspective (unsafe path handling), but practical risk depends on PPTAgent's deployment model: if used in a shared multi-tenant SaaS or with untrusted prompt injection, risk increases; if used as a local development tool with trusted operators, risk is low. Confidence is moderate - CVSS vector and CWE are confirmed by GitHub advisory; actual exploitation prerequisites depend on understanding how save_generated_slides is invoked (triggered by user input, LLM output, external API).

Exploit ScenarioDerived

An attacker authenticates to PPTAgent (or compromises an authenticated account) and crafts a malicious prompt that calls save_generated_slides with a traversal path like ../../sensitive_config.pptx. If the application parses this path without validation, the attacker can overwrite files in parent directories, such as application config files, system files (if PPTAgent runs with elevated privileges), or other user data. User interaction is required, meaning the attack requires either social engineering (tricking a user into running a specific command) or exploiting a secondary vulnerability in the LLM reasoning layer to auto-generate malicious save calls.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 file write vulnerability in PPTAgent prior to commit 418491a allows authenticated users with UI interaction to write files outside the intended workspace via path traversal in the save_generated_slides function, potentially overwriting arbitrary files on the system. CVSS 4.6 (low integrity and availability impact); no public exploit code identified at time of analysis.

RemediationAI

Upgrade to the patched version by pulling commit 418491a or later from the ICIP-CAS PPTAgent GitHub repository (https://github.com/icip-cas/PPTAgent). If immediate patching is not possible, implement input validation to restrict file paths to a whitelist of allowed directories and reject any path containing traversal sequences (../, absolute paths, or symlinks pointing outside the workspace). Additionally, run PPTAgent with minimal filesystem permissions-use OS-level restrictions (chroot, containers, AppArmor, SELinux) to confine the process to a specific workspace directory, so even if path traversal succeeds, written files are physically isolated. Monitor save_generated_slides calls for suspicious path patterns (e.g., containing .. or /etc/). Trade-off: filesystem restrictions may break legitimate workflows if slides must be written to multiple locations; collaborate with stakeholders to define a whitelist.

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 is an agentic framework for reflective PowerPoint generation that accepts user-provided file paths in the save_generated_slides API endpoint. The vulnerability stems from CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, also known as path traversal). The vulnerable code passed user-supplied file paths directly to Path() and save() without validation, allowing attackers to use relative path traversal sequences (e.g., ../../../etc/passwd) to write files outside the workspace root. The patch introduces a resolve_path_in_workspace() utility function that canonicalizes paths using Path.resolve() and validates via is_relative_to(), ensuring written files remain within the active workspace. The fix also hardens eval() calls by restricting globals to an empty builtins dictionary, mitigating secondary code injection risk. CPE: cpe:2.3:a:icip-cas:pptagent:*:*:*:*:*:*:*:* (all versions prior to the patched commit).

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 4.6 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

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

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

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:58 nvd
MEDIUM 4.6

DescriptionCVE.org

PPTAgent is an agentic framework for reflective PowerPoint generation. Prior to commit 418491a, there is an arbitrary file write vulnerability via save_generated_slides. This issue has been patched via commit 418491a.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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