{"id":"CVE-2026-118756","state":"PUBLISHED","title":"gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir","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.","publishedAt":"2026-10-28T21:11:24.270Z","updatedAt":"2026-10-28T21:11:24.270Z","severity":{"score":6.7,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["gopasspw gopass"],"affected":[{"vendor":"gopasspw","product":"gopass","packageURL":"pkg:golang/github.com/gopasspw/gopass","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.0","versionType":"semver"}],"repo":"https://github.com/gopasspw/gopass"}],"references":["https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj","https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2","https://github.com/gopasspw/gopass/releases/tag/v1.17.0","https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226","https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118756.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118756","state":"PUBLISHED","datePublished":"2026-10-28T21:11:24.270Z","dateUpdated":"2026-10-28T21:11:24.270Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T19:13:09.837Z"},"containers":{"cna":{"title":"gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir","descriptions":[{"lang":"en","value":"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":[{"vendor":"gopasspw","product":"gopass","packageURL":"pkg:golang/github.com/gopasspw/gopass","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.0","versionType":"semver"}],"repo":"https://github.com/gopasspw/gopass"}],"references":[{"url":"https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-rw43-4vhf-hcvj)"},{"url":"https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2","tags":["patch"]},{"url":"https://github.com/gopasspw/gopass/releases/tag/v1.17.0","tags":["release-notes"],"name":"gopass v1.17.0 Release Notes"},{"url":"https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir","name":"VulnCheck Advisory: gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.7,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T21:11:24.270Z"},"datePublic":"2026-08-12T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}