Read the docs

Path traversal in gopass lets attackers delete directories

Priority LOW 29CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

gopass before 1.17.0 contains a path traversal flaw in its filesystem storage backend, tracked as CWE-22. Entry names containing ../ are not restricted to the password store in the Prune and IsDir functions, so they resolve outside it. A collaborator with write access to a shared git-synced store can add crafted entries, and when a victim runs a recursive gopass rm -r, arbitrary directory trees can be deleted. The CVSS 4.0 vector requires user interaction and grants high availability impact.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00145 3rd percentileScored 2026-11-07
Fix Fixed gopass (gopasspw): 1.17.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gopasspwgopassbefore 1.17.01.17.0Patch availableCNA
  • gopass Vendorgopasspw Affected before 1.17.0 Fixed in 1.17.0 Patch available CNA

Remediation

Upgrade gopass to version 1.17.0 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

  • Fix · CNA gopass (gopasspw) Fixed in 1.17.0

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-28 Threatist record created from CVE-2026-118756
  2. 2026-10-29 Alias added: GHSA-g69m-c6cf-wpcv
  3. 2026-10-30 Priority changed: MEDIUM → LOW
  4. 2026-11-05 CISA SSVC decision points changed
  5. 2026-11-07 Affected versions changed · Red Hat
  6. 2026-11-07 CVSS score added · Red Hat

References

Sources