Skip to content

CVE-2026-118756 gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir

MediumCVSS 6.7 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

4 packages: 1 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
debian/golang-github-gopasspw-gopass(Debian 14) = 1.16.1-1; = 1.16.1-2; All versions No fix listed No fix yet
ubuntu/gopass(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/gopass(Ubuntu 24.04) All versions No fix listed No fix yet
gopasspw github.com/gopasspw/gopass < 1.17.0 1.17.0 Fixed

Affected products

ProductAffected versionsFixed in
gopasspw github.com/gopasspw/gopass < 1.17.0 1.17.0
debian/golang-github-gopasspw-gopass(Debian:14) All versions No fix listed
debian/golang-github-gopasspw-gopass(Debian:14) = 1.16.1-1 No fix listed
debian/golang-github-gopasspw-gopass(Debian:14) = 1.16.1-2 No fix listed
ubuntu/gopass(Ubuntu:22.04) All versions No fix listed
ubuntu/gopass(Ubuntu:24.04) All versions No fix listed

References