CVE-2026-118756gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | gopass | Under investigation | UBUNTU-CVE-2026-118756 | |
| Ubuntu 22.04 | gopass | Under investigation | UBUNTU-CVE-2026-118756 | |
| Ubuntu 20.04 | gopass | Fix pending | UBUNTU-CVE-2026-118756 | |
| Ubuntu 18.04 | gopass | Fix pending | UBUNTU-CVE-2026-118756 | |
| Debian 14 | golang-github-gopasspw-gopass | Fix pending | DEBIAN-CVE-2026-118756 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gopasspw gopass: affected: before 1.17.0; fixed in
1.17.0
Vendor advisories:
- https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj (vendor-advisory)
- https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2 (patch)
- https://github.com/gopasspw/gopass/releases/tag/v1.17.0 (release-notes)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.