CVE-2026-118756

Source
https://cve.org/CVERecord?id=CVE-2026-118756
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118756.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118756
Aliases
  • GHSA-rw43-4vhf-hcvj
Downstream
Published
2026-10-28T21:11:24Z
Modified
2026-11-07T02:30:49Z
Severity
  • 6.7 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118756.json"
}
References

Affected packages

Git / github.com/gopasspw/gopass

Affected ranges

Type
GIT
Repo
https://github.com/gopasspw/gopass
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.17.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "4f76ed537d8293ab88959a31a932dd9b3112a0a2"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.17.0",
            "range":  [
                {
                    "fixed":  "687f52d142b815f7f493c196046269d008ebbadb"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.0.1
v1.0.2
v1.1.1
v1.1.2
v1.10.0
v1.10.0-rc.0
v1.10.0-rc.1
v1.10.1
v1.11.0
v1.12.0
v1.12.1
v1.12.2
v1.12.3
v1.12.4
v1.12.5
v1.12.6
v1.12.6-rc0
v1.12.7
v1.12.8
v1.13.0
v1.14.0
v1.14.1
v1.14.10
v1.14.11
v1.14.2
v1.14.3
v1.14.4
v1.14.6
v1.14.7
v1.14.8
v1.14.9
v1.15.0
v1.15.1
v1.15.10
v1.15.11
v1.15.12
v1.15.13
v1.15.14
v1.15.15
v1.15.16
v1.15.17
v1.15.18
v1.15.2
v1.15.3
v1.15.4
v1.15.6
v1.15.7
v1.15.8
v1.15.9
v1.16.0
v1.16.1
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.6.0
v1.6.0-rc1
v1.6.1
v1.6.10
v1.6.11
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.6.6
v1.6.7
v1.6.8
v1.6.9
v1.7.0
v1.8.0
v1.8.0-alpha.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.9.0
v1.9.1
v1.9.2
v1.9.3-rc.0
v1.9.3-rc.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118756.json"