{"id":"CVE-2026-118756","summary":"gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir","details":"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.","aliases":["GHSA-rw43-4vhf-hcvj"],"modified":"2026-11-07T02:30:49.970925501Z","published":"2026-10-28T21:11:24.270Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118756.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118756.json"},{"type":"ADVISORY","url":"https://github.com/gopasspw/gopass/releases/tag/v1.17.0"},{"type":"ADVISORY","url":"https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118756"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir"},{"type":"FIX","url":"https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2"},{"type":"PACKAGE","url":"https://github.com/gopasspw/gopass"},{"type":"ARTICLE","url":"https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gopasspw/gopass","events":[{"introduced":"0"},{"fixed":"687f52d142b815f7f493c196046269d008ebbadb"},{"fixed":"4f76ed537d8293ab88959a31a932dd9b3112a0a2"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.17.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"4f76ed537d8293ab88959a31a932dd9b3112a0a2"}]},{"range":[{"fixed":"687f52d142b815f7f493c196046269d008ebbadb"}],"source":"REFERENCES_TAG","original_tag":"v1.17.0"}]}}],"versions":["v1.16.1","v1.16.0","v1.15.18","v1.15.17","v1.15.16","v1.15.15","v1.15.14","v1.15.13","v1.15.12","v1.15.11","v1.15.10","v1.15.9","v1.15.8","v1.15.7","v1.15.6","v1.15.4","v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.11","v1.14.10","v1.14.9","v1.14.8","v1.14.7","v1.14.6","v1.14.4","v1.14.3","v1.14.2","v1.14.1","v1.14.0","v1.13.0","v1.12.8","v1.12.7","v1.12.6","v1.12.6-rc0","v1.12.5","v1.12.4","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.0","v1.10.1","v1.10.0","v1.10.0-rc.1","v1.10.0-rc.0","v1.9.3-rc.1","v1.9.3-rc.0","v1.9.2","v1.9.1","v1.9.0","v1.8.6","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.6.11","v1.8.0-alpha.0","v1.7.0","v1.6.10","v1.6.9","v1.6.8","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.6.0-rc1","v1.5.1","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.2","v1.1.1","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118756.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}