# CVE-2026-118756: gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir

- Severity: Medium 6.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-10-28T21:11:24.270Z
- Modified: 2026-11-05T17:17:55.693Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

gopass before 1.17.0 contains a path traversal vulnerability in the filesystem storage backend that allows attackers to delete directories outside the password store via ../ entry names in Prune and IsDir. Collaborators with write access to a shared git-synced store can introduce crafted entries, causing a victim's recursive gopass rm -r to delete arbitrary directory trees.

(As written by CVE List.)

## Affected

- gopasspw gopass: before 1.17.0

## Every score

- VulnCheck: CVSS:4.0 6.7 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj> (vendor-advisory)
- <https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2> (patch)
- <https://github.com/gopasspw/gopass/releases/tag/v1.17.0> (release-notes)
- <https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226> (technical-description)
- <https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-118756](https://www.cve.org/CVERecord?id=CVE-2026-118756), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-118756](https://nvd.nist.gov/vuln/detail/CVE-2026-118756), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-118756 · Whole record: https://cve.day/CVE-2026-118756.json · Rebuilt by cve.day 2026-11-25T22:59:47.700Z
