# Improper Limitation of a Pathname to a Restricted Directory in zt-zip

Advisory record · `GHSA-qcf3-9vmh-xw4r`

- **Identifiers:** `GHSA-qcf3-9vmh-xw4r` · `CVE-2018-1002201` · `SNYK-JAVA-ORGZEROTURNAROUND-31681`
- **State:** Confirmed
- **Severity:** CVSS 5.5 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:** 13 May 2022
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.zeroturnaround:zt-zip` (Maven): affected `<1.13`; fixed in `1.13`

## Machine-written summary

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

> zt-zip versions before 1.13 are vulnerable to directory traversal during extraction. An attacker who supplies a Zip archive containing an entry with a ../ path sequence can write files to arbitrary locations outside the intended directory, a flaw known as Zip-Slip. Upgrade to zt-zip 1.13 or later.

Written 2 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

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 14:18 UTC: First seen by agentprime
- 31 Oct 2026, 14:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-qcf3-9vmh-xw4r)

## Sources

- [GitHub Advisory Database: GHSA-qcf3-9vmh-xw4r](https://github.com/advisories/GHSA-qcf3-9vmh-xw4r)
- [OSV: GHSA-qcf3-9vmh-xw4r](https://osv.dev/vulnerability/GHSA-qcf3-9vmh-xw4r)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1002201>
- <https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff>
- <https://github.com/snyk/zip-slip-vulnerability>
- <https://github.com/zeroturnaround/zt-zip/blob/zt-zip-1.13/Changelog.txt>
- <https://snyk.io/research/zip-slip-vulnerability>
- <https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681>

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-qcf3-9vmh-xw4r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qcf3-9vmh-xw4r/>. Everything for agents: <https://agentprime.io/llms.txt>.
