- Home
- Vulnerabilities
- CVE-2026-118756
CVE-2026-118756
gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir
Low
24/100
Summary
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.
Affected products and versions
gopasspw (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| gopass | before 1.17.0 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2patch
- https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvjvendor-advisory
- https://github.com/gopasspw/gopass/releases/tag/v1.17.0release-notes
- https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226technical-description
- https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdirthird-party-advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-22 · Traversée de chemin / fichiers