llamaCVEVulnerability Intelligence
/
rebar3

CVE-2026-103060

Path traversal in rebar3 via unvalidated dependency app names

Specific setups onlyParche disponiblepath traversal
Descargar PNG JSON
CVSS 4.0
7.5
Alta
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.27.2
Exposición37 dDesde la divulgación, 12 oct 2026, 10:43 a. m.
Detección10 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
12 oct 26
16 oct 26
22 oct 26
24 oct 26
19 nov 26
12 oct 26
22 oct 26
31 oct 26
10 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-103060 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects rebar3 from 3.7.0-rc1 before 3.27.2 when a project's dependency tree includes a package whose registry metadata gives a dependency a crafted app name. Fixed in 3.27.2.

¿Qué significa?A malicious package publisher can make rebar3 get-deps delete a directory outside the project's _build directory and write the dependency package's files there. If the contents of that directory are later run, this can lead to code execution.
¿Quién está afectado?Affected are rebar3 versions from 3.7.0-rc1 before 3.27.2. The issue applies to projects whose dependency tree, directly or transitively, contains a package release whose registry metadata gives a dependency a crafted app name, when dependencies are fetched with rebar3 get-deps or another command that fetches dependencies. Check the version reported by rebar3 version.
¿Qué hacer?Upgrade rebar3 to 3.27.2 or later, for example with rebar3 local upgrade.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Project depends on a package release, directly or transitively, whose registry metadata gives a dependency a crafted app name“Affects projects whose dependency tree, directly or transitively, contains a package release whose registry metadata gives a dependency a crafted app name”
02
rebar3 version from 3.7.0-rc1 before 3.27.2“This issue affects rebar3: from 3.7.0-rc1 before 3.27.2.”
03
Dependencies fetched with rebar3 get-deps or another command that fetches dependencies“when dependencies are fetched with rebar3 get-deps or another command that fetches dependencies”
04
Packages on other Hex repositories whose operator signs such metadata“Packages on other Hex repositories are affected when the repository operator signs such metadata.”
¿Quién debe revisar?Teams running rebar3 from 3.7.0-rc1 before 3.27.2 that fetch Hex dependencies with get-deps, including transitive dependencies; developers, CI jobs and dependency update bots.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:A
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
rebar3≥ 3.7.0-rc1 < 3.27.2
3.7.0-rc1
3.27.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
rebar3
Corregida 3.27.2 — —
Versiones corregidas3.27.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALEEF
configurationAffects projects whose dependency tree, directly or transitively, contains a package release whose registry metadata gives a dependency a crafted app name, when dependencies are fetched with rebar3 get-deps or another command that fetches dependencies. hex.pm rejects such names when a release is published since 2026-10-12, and every requirement app name in hex.pm's public registry on 2026-10-06 was a letter followed by letters, digits, _ and -. Packages on other Hex repositories are affected when the repository operator signs such metadata.EEF
solutionUpgrade rebar3 to 3.27.2 or later, for example with rebar3 local upgrade. rebar3 then fails with an error when a dependency's name, including the app name a package release gives a dependency, isn't a letter followed by letters, digits, _ and -.EEF
Referencias
Fabricantehttps://github.com/erlang/rebar3/security/advisories/GHSA-6ggr-r7mh-2mv8
Parchehttps://github.com/erlang/rebar3/commit/e35282b26e499b1d9e8f30bba9dccd71cd8b02ba
Otrahttps://cna.erlef.org/cves/CVE-2026-103060.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-103060
Otrahttps://github.com/erlang/rebar3/commit/56b7d88975aa8da6446857cfd92de0825024bf63

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.