Skip to content
Heist/ feed
Back to feed
Medium

gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir

Type: advisorySources: Official CVE List

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.

Products
gopass
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-118756
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:44 UTC · Revision 1

Source evidence

gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir

core-cve · Original source

Published 28 Oct 2026, 21:11 UTC

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.

cve:CVE-2026-118756

gopass

Fixed versions: Not specified

Complete source record
{
  "id": "b3720b3346f7fbc139f385c85adf4af311b6c9faad006fa477a328d9327089ca",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-118756",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "gopass before 1.17.0 Path Traversal via fs Storage Prune and IsDir",
    "summary": "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.",
    "evidence": "cve:CVE-2026-118756",
    "products": [
      {
        "name": {
          "value": "gopass",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-118756",
      "aliases": [
        "CVE-2026-118756"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 6.7,
            "attackVector": "LOCAL",
            "baseSeverity": "MEDIUM",
            "vectorString": "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",
            "userInteraction": "ACTIVE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE"
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 5.5,
            "attackVector": "LOCAL",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
            "integrityImpact": "NONE",
            "userInteraction": "REQUIRED",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "repo": "https://github.com/gopasspw/gopass",
          "vendor": "gopasspw",
          "product": "gopass",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "1.17.0",
              "versionType": "semver"
            }
          ],
          "packageURL": "pkg:golang/github.com/gopasspw/gopass",
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-28T21:11:24.270Z",
      "provider": "cve",
      "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"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
          "shortName": "VulnCheck",
          "dateUpdated": "2026-10-28T21:11:24.270Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-118756",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 491723,
  "published_at": "2026-10-28T21:11:24.27+00:00"
}