CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir

CVE-2026-47078

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 4.8 · medium

Relative path traversal in zip:unzip/zip:extract via check_dir_level depth-counter bypass

Relative Path Traversal vulnerability in Erlang OTP (stdlib zip module) allows writing files outside the intended extraction directory via a crafted zip archive. zip: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. This vulnerability is associated with program file lib/stdlib/src/zip.erl. This 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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.149% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 4.8 · published by EEF
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L
Assessment source · checked 2026-11-19T12:58:40.922Z

CVSS 4.0 · 4.8 · published by Ubuntu Security
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L
Assessment source · checked 2026-11-19T16:52:52.101Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:58:40.922ZCVE Program
epssverified2026-11-19T16:04:51.377ZFIRST EPSS
patchesverified2026-11-19T16:52:52.101ZUbuntu Security
affectedverified2026-11-19T12:58:40.922ZCVE Program
lifecycleverified2026-11-19T12:58:40.922ZCVE Program

Affected versions and configuration

Erlang OTP; modules: zip; default status: unaffected: 27.1 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.15","status":"unaffected"},{"at":"28.5.0.4","status":"unaffected"},{"at":"29.0.4","status":"unaffected"}] Erlang OTP; modules: zip; default status: unaffected: 6.1 to < * [affected; scheme: otp]; changes: [{"at":"6.2.2.4","status":"unaffected"},{"at":"7.3.0.1","status":"unaffected"},{"at":"8.0.3","status":"unaffected"}] Erlang OTP; modules: zip; default status: unaffected: 8d537f51a4262d24f3395c4148323eaca9facbbd to < 8a933c9c7835b06776d31d17b79b7336627d887a [affected; scheme: git]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "erlang",
    "debian": "https://tracker.debian.org/pkg/erlang",
    "source": "https://ubuntu.com/security/cve?package=erlang",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=erlang",
    "statuses": [
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:20.2.2+dfsg-1ubuntu2+esm4",
        "release_codename": "bionic"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:22.2.7+dfsg-1ubuntu0.5+esm3",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:24.2.1+dfsg-1ubuntu0.8",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:25.3.2.8+dfsg-1ubuntu4.8",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:27.3.4.6+dfsg-1ubuntu0.2",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:29.0.4+dfsg-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "changes too intrusive",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "changes too intrusive",
        "release_codename": "xenial"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "vendor": "Erlang",
      "modules": [
        "zip"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "27.3.4.15",
              "status": "unaffected"
            },
            {
              "at": "28.5.0.4",
              "status": "unaffected"
            },
            {
              "at": "29.0.4",
              "status": "unaffected"
            }
          ],
          "version": "27.1",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:software-id/erlang.org/otp",
      "packageName": "otp",
      "programFiles": [
        "lib/stdlib/src/zip.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "zip:unzip/1"
        },
        {
          "name": "zip:unzip/2"
        },
        {
          "name": "zip:extract/1"
        },
        {
          "name": "zip:extract/2"
        },
        {
          "name": "zip:check_dir_level/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "zip"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "6.2.2.4",
              "status": "unaffected"
            },
            {
              "at": "7.3.0.1",
              "status": "unaffected"
            },
            {
              "at": "8.0.3",
              "status": "unaffected"
            }
          ],
          "version": "6.1",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:otp/stdlib?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
      "packageName": "stdlib",
      "programFiles": [
        "src/zip.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "zip:unzip/1"
        },
        {
          "name": "zip:unzip/2"
        },
        {
          "name": "zip:extract/1"
        },
        {
          "name": "zip:extract/2"
        },
        {
          "name": "zip:check_dir_level/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "zip"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "version": "8d537f51a4262d24f3395c4148323eaca9facbbd",
          "lessThan": "8a933c9c7835b06776d31d17b79b7336627d887a",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/erlang/otp",
      "packageName": "erlang/otp",
      "programFiles": [
        "lib/stdlib/src/zip.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "zip:unzip/1"
        },
        {
          "name": "zip:unzip/2"
        },
        {
          "name": "zip:extract/1"
        },
        {
          "name": "zip:extract/2"
        },
        {
          "name": "zip:check_dir_level/2"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-47078",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-07-27T18:38:46.508080Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-07-27T18:38:54.420Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
distribution-packageUbuntu / bionicerlangesm-infra1:20.2.2+dfsg-1ubuntu2+esm4Official record
distribution-packageUbuntu / focalerlangesm-infra1:22.2.7+dfsg-1ubuntu0.5+esm3Official record
distribution-packageUbuntu / jammyerlangsecurity1:24.2.1+dfsg-1ubuntu0.8Official record
distribution-packageUbuntu / nobleerlangsecurity1:25.3.2.8+dfsg-1ubuntu4.8Official record
distribution-packageUbuntu / resoluteerlangsecurity1:27.3.4.6+dfsg-1ubuntu0.2Official record
upstream-noteupstream / upstreamerlangNot a distribution channel1:29.0.4+dfsg-1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history