{"id":"UBUNTU-CVE-2026-118756","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.","modified":"2026-10-29T20:04:31.798915358Z","published":"2026-10-29T00:00:00Z","upstream":["CVE-2026-118756"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118756"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118756"},{"type":"REPORT","url":"https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226"},{"type":"REPORT","url":"https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2"},{"type":"REPORT","url":"https://github.com/gopasspw/gopass/releases/tag/v1.17.0"},{"type":"REPORT","url":"https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir"}],"affected":[{"package":{"name":"gopass","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gopass?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.6-2","1.0.7-1","1.0.8-1","1.0.8-2","1.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-aviau-gopass-dev","binary_version":"1.2.0-1"},{"binary_name":"gopass","binary_version":"1.2.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118756.json"}},{"package":{"name":"gopass","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gopass?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-aviau-gopass-dev","binary_version":"1.2.0-2"},{"binary_version":"1.2.0-2","binary_name":"gopass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118756.json"}},{"package":{"name":"gopass","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gopass?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1","1.5.0-1","1.5.0-1ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-aviau-gopass-dev","binary_version":"1.5.0-1ubuntu0.22.04.1"},{"binary_name":"gopass","binary_version":"1.5.0-1ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118756.json"}},{"package":{"name":"gopass","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gopass?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.0-1build1","1.5.0-1ubuntu0.24.04.1","1.5.0-1ubuntu0.24.04.2","1.5.0-1ubuntu0.24.04.3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-aviau-gopass-dev","binary_version":"1.5.0-1ubuntu0.24.04.3"},{"binary_name":"gopass","binary_version":"1.5.0-1ubuntu0.24.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118756.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"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"},{"type":"Ubuntu","score":"medium"}]}