Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-118756 EUVD-2026-112500GHSA-g69m-c6cf-wpcv

gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir

Published Oct 28, 2026 · Updated Nov 5, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
gopasspw gopass < 1.17.0 1.17.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-gopasspw-gopass No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS gopass No fix yet —
Ubuntu 22.04 LTS gopass No fix yet —
Ubuntu 20.04 LTS gopass No fix yet —
Ubuntu 18.04 LTS gopass No fix yet —

References