# CVE-2018-25046: Path traversal in code.cloudfoundry.org/archiver

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-12-27 · Modified: 2025-04-11
- Aliases: GHSA-32qh-8vg6-9g43, GO-2020-0025
- Record: https://cvemate.com/vulnerability/CVE-2018-25046 · JSON: https://cvemate.com/vulnerability/CVE-2018-25046/json

## Description

```text
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 1.315%, percentile 71.739%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cloudfoundry archiver: \< 2018-05-23
- code.cloudfoundry.org/archiver code.cloudfoundry.org/archiver/extractor: \< 0.0.0-20180523222229-09b5706aa936
- code.cloudfoundry.org archiver (Go): \< 0.0.0-20180523222229-09b5706aa936
- github.com/cloudfoundry archiver (Go): \< 0.0.0-20180523222229-09b5706aa936

## References

- <https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840>
- <https://snyk.io/research/zip-slip-vulnerability>
- <https://pkg.go.dev/vuln/GO-2020-0025>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-25046>
- <https://github.com/cloudfoundry/archiver>

---

Data as of 2026-12-05T04:10:29.704Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
