Skip to main content
CVE-2026-103060VulnerabilityPublished Updated

erlang rebar3 · Path Traversal

Affects rebar3Source GCVE Database

0
Compare
Authoritative record:CVE-2026-103060· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 22:28 UTC

CVSS 4.0 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.07.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rebar3pkg:deb/ubuntu/rebar3?arch=source&distro=stonkingOther threatsAffected
  • 3.26.0-1 – 3.27.0-6
4 affected builds
Fixed in–
Ubuntu 26.04 LTSrebar3pkg:deb/ubuntu/rebar3?arch=source&distro=resoluteOther threatsAffected
  • =3.24.0-1
  • =3.25.1-1
  • =3.26.0-1
Fixed in–
Ubuntu 24.04 LTSrebar3pkg:deb/ubuntu/rebar3?arch=source&distro=nobleOther threatsAffected
  • =3.19.0-1
Fixed in–
Ubuntu 22.04 LTSrebar3pkg:deb/ubuntu/rebar3?arch=source&distro=jammyOther threatsAffected
  • =3.18.0-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in erlang rebar3 allows a malicious package publisher to delete a directory outside the project's _build directory and extract package files into it when a developer fetches dependencies. A package release's dependencies in a Hex registry carry an app field that names the dependency's OTP application. rebar3 uses this field as the dependency's name without validating it (rebar_packages:parse_deps/1) and builds the dependency's directory from that name (rebar_app_utils:dep_to_app/7). rebar_fetch:download_source_online/2 deletes that directory with rm -rf and moves the fetched package into it. hex.pm didn't restrict the field to a directory name before 2026-10-12, so a publisher could set it to a value such as ../../../../target. When a project depends on such a release directly or transitively, rebar3 get-deps deletes the directory the name resolves to and writes the dependency's files there. This happens before the dependency's own rebar.config.script is evaluated, and get-deps compiles nothing. This issue affects rebar3: from 3.7.0-rc1 before 3.27.2.

References

Community reviews

Loading reviews…