# PPTAgent: Arbitrary File Write + Directory Creation via markdown_table_to_image

Advisory record · `GHSA-hrcw-xc63-g29m`

- **Identifiers:** `GHSA-hrcw-xc63-g29m` · `CVE-2026-42078` · `PYSEC-2026-2893`
- **State:** Confirmed
- **Severity:** CVSS 4.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 5 May 2026
- **Updated:** 13 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 May 2026, 18:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `pptagent` (PyPI): affected `<1.1.36`; fixed in `1.1.36`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> PPTAgent versions before 1.1.36 are affected by an arbitrary file write and directory creation flaw in the markdown_table_to_image tool, which passes a caller-controlled path straight through without the workspace-boundary check used elsewhere in the project. An attacker who can invoke this tool can write rendered image content to arbitrary locations and create directory trees, which the source says could overwrite sensitive files or place files in web-served directories. Upgrade to PPTAgent 1.1.36 or later.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 9th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:01 UTC: First seen by agentprime
- 31 Oct 2026, 15:01 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hrcw-xc63-g29m)

## Sources

- [GitHub Advisory Database: GHSA-hrcw-xc63-g29m](https://github.com/advisories/GHSA-hrcw-xc63-g29m)
- [OSV: GHSA-hrcw-xc63-g29m](https://osv.dev/vulnerability/GHSA-hrcw-xc63-g29m)
- <https://github.com/icip-cas/PPTAgent/security/advisories/GHSA-hrcw-xc63-g29m>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42078>
- <https://github.com/icip-cas/PPTAgent/commit/418491a9a1c02d9d93194b5973bb58df35cf9d00>
- <https://github.com/icip-cas/PPTAgent>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hrcw-xc63-g29m>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hrcw-xc63-g29m/>. Everything for agents: <https://agentprime.io/llms.txt>.
