{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-47078",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-47078",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-07-27T15:03:50.929Z",
    "updatedAt": "2026-09-24T20:48:37.203Z",
    "importedAt": "2026-10-24T01:58:14.884Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Relative path traversal in zip:unzip/zip:extract via check_dir_level depth-counter bypass",
      "summary": "Relative Path Traversal vulnerability in Erlang OTP (stdlib zip module) allows writing files outside the intended extraction directory via a crafted zip archive.\n\nzip:unzip/1,2 and zip:extract/1,2 validate entry paths using zip:check_dir_level/2, which tracks directory depth as a running integer counter: .. decrements it, normal path components increment it. The caller rejects only paths where the final counter value is less than zero. A path such as ../x/y causes the counter to go negative mid-traversal then recover to zero, passing validation while resolving to a location outside the extraction directory when joined with the current working directory via add_cwd.\n\nThis vulnerability is associated with program file lib/stdlib/src/zip.erl.\n\nThis issue affects OTP from OTP 27.1 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to stdlib from 6.1 before 6.2.2.4, 7.3.0.1, and 8.0.3.",
      "affected": [
        {
          "vendor": "Erlang",
          "product": "OTP",
          "packageName": "otp",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "27.1",
              "status": "affected",
              "versionType": "otp",
              "lessThan": "*",
              "changes": [
                {
                  "at": "27.3.4.15",
                  "status": "unaffected"
                },
                {
                  "at": "28.5.0.4",
                  "status": "unaffected"
                },
                {
                  "at": "29.0.4",
                  "status": "unaffected"
                }
              ]
            }
          ]
        },
        {
          "vendor": "Erlang",
          "product": "OTP",
          "packageName": "stdlib",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "6.1",
              "status": "affected",
              "versionType": "otp",
              "lessThan": "*",
              "changes": [
                {
                  "at": "6.2.2.4",
                  "status": "unaffected"
                },
                {
                  "at": "7.3.0.1",
                  "status": "unaffected"
                },
                {
                  "at": "8.0.3",
                  "status": "unaffected"
                }
              ]
            }
          ]
        },
        {
          "vendor": "Erlang",
          "product": "OTP",
          "packageName": "erlang/otp",
          "collectionURL": "https://github.com",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "8d537f51a4262d24f3395c4148323eaca9facbbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8a933c9c7835b06776d31d17b79b7336627d887a"
            }
          ]
        }
      ]
    }
  }
}