CVE-2026-118756
mediumgopass before 1.17.0 contains a path traversal vulnerability in the filesystem storage backend that allows attackers to delete directories outside the password…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-... disclosure@vulncheck.com
- https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2 disclosure@vulncheck.com
- https://github.com/gopasspw/gopass/releases/tag/v1.17.0 disclosure@vulncheck.com
- https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-pr... disclosure@vulncheck.com
