CVE-2026-118756
published medium CVSS 4.0 · 6.7gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gopasspw | — | gopass0 to < 1.17.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gopasspw | gopass | 0 to < 1.17.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226
- https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2
- gopass v1.17.0 Release Notes https://github.com/gopasspw/gopass/releases/tag/v1.17.0
- GitHub Security Advisory (GHSA-rw43-4vhf-hcvj) https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj
- VulnCheck Advisory: gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir
Provider assertions
2VulnCheck · cna
gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 360864e799fb39aa1874f8d9b2d8b42e4c2e0ce17be46c54cd5b0a8fbc04c782
- Ingested
- 07 Nov 2026, 23:39:08 UTC
- Source record
- Official CVE record