{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "687f52d142b815f7f493c196046269d008ebbadb"
            },
            {
              "fixed": "4f76ed537d8293ab88959a31a932dd9b3112a0a2"
            }
          ],
          "repo": "https://github.com/gopasspw/gopass",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rw43-4vhf-hcvj"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-118756",
  "modified": "2026-11-07T02:30:49.970925501Z",
  "published": "2026-10-28T21:11:24.270Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118756.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gopasspw/gopass/releases/tag/v1.17.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gopasspw/gopass/security/advisories/GHSA-rw43-4vhf-hcvj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118756"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/gopass-before-1.17.0-path-traversal-via-fs-storage-prune-and-isdir"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gopasspw/gopass/commit/4f76ed537d8293ab88959a31a932dd9b3112a0a2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/gopasspw/gopass"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/gopasspw/gopass/blob/v1.16.1/internal/backend/storage/fs/store.go#L207-L226"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir"
}