CVE-2026-66835
La vulnerabilidad de equivalencia de rutas (Path Equivalence) en inets httpd de Erlang/OTP permite a un atacante remoto sin autenticar leer archivos dentro de un directorio protegido por mod_auth anteponiendo una barra adicional a la ruta de la petición.
httpd_request:validate_uri/1 normaliza el URI de la petición con uri_string:normalize/1, que realiza la eliminación de segmentos de punto según la RFC 3986, pero no colapsa los segmentos de ruta vacíos, por lo que una barra doble sobrevive. mod_alias:real_name/3 concatena la raíz del documento con ese URI, y después mod_auth:secret_path/3 decide si el resultado se encuentra dentro de un bloque de directorio protegido ejecutando la ruta de directorio configurada como una expresión regular sin anclar contra él.
Leer descripción completaMostrar menos
La barra doble rompe la subcadena contigua que necesita la expresión regular, por lo que la petición se trata como no protegida y no se emite ningún desafío de autenticación, mientras que mod_get abre la misma ruta y el sistema operativo colapsa la barra doble y devuelve el archivo protegido. Esta misma discrepancia de rutas también evita el recuento por ruta de mod_security.
Este problema afecta a OTP desde la 17.0 hasta antes de la OTP 27.3.4.17, la OTP 28.5.0.6 y la OTP 29.0.6, que se corresponden con inets desde la 5.10 hasta antes de la 9.3.2.7, la 9.6.2.3 y la 9.7.2. Se desconoce si están afectadas las versiones de OTP anteriores a la 17.0, que se corresponden con inets anteriores a la 5.10.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access60 %
Inferido por reglas deterministas a partir del vector CVSS y la CWE. Solo orientativo.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (2)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Registro NVD
- Estado en NVD
- Aplazada
- Publicada
- 1 sept 2026
- Última modificación
- 20 nov 2026
- Vector CVSS
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Debilidad (CWE)
- CWE-50
Referencias
- Parchegithub.com/erlang/otp/commit/9641944a2efbf55bea760f8ff7ba777fe3…
- Parchegithub.com/erlang/otp/commit/bac19eb3dbd96cc49b6d8cabc1c04248bf…
- Parchegithub.com/erlang/otp/commit/d8878dec0ececc2eab18e47bb18b472f22…
- Referenciacna.erlef.org/cves/CVE-2026-66835.html
- Referenciagithub.com/erlang/otp/security/advisories/GHSA-r4vv-vc2c-2fw6
- Referenciaosv.dev/vulnerability/EEF-CVE-2026-66835
Mostrar 1 referencias másMostrar menos
- Referenciaerlang.org/doc/system/versions.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-66835",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-66835",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-01T17:57:48.578657Z"
}
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 8.2,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"mod_auth",
"mod_alias",
"httpd_request"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "9.3.2.7",
"status": "unaffected"
},
{
"at": "9.6.2.3",
"status": "unaffected"
},
{
"at": "9.7.2",
"status": "unaffected"
}
],
"version": "5.10",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "inets",
"programFiles": [
"src/http_server/mod_auth.erl",
"src/http_server/mod_alias.erl",
"src/http_server/httpd_request.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "mod_auth:secret_path/3"
},
{
"name": "mod_alias:real_name/3"
},
{
"name": "httpd_request:validate_uri/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"mod_auth",
"mod_alias",
"httpd_request"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.17",
"status": "unaffected"
},
{
"at": "28.5.0.6",
"status": "unaffected"
},
{
"at": "29.0.6",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/inets/src/http_server/mod_auth.erl",
"lib/inets/src/http_server/mod_alias.erl",
"lib/inets/src/http_server/httpd_request.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "mod_auth:secret_path/3"
},
{
"name": "mod_alias:real_name/3"
},
{
"name": "httpd_request:validate_uri/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"mod_auth",
"mod_alias",
"httpd_request"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "9641944a2efbf55bea760f8ff7ba777fe3a0961c",
"status": "unaffected"
},
{
"at": "bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6",
"status": "unaffected"
},
{
"at": "d8878dec0ececc2eab18e47bb18b472f224ca633",
"status": "unaffected"
}
],
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "9641944a2efbf55bea760f8ff7ba777fe3a0961c",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "d8878dec0ececc2eab18e47bb18b472f224ca633",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/inets/src/http_server/mod_auth.erl",
"lib/inets/src/http_server/mod_alias.erl",
"lib/inets/src/http_server/httpd_request.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "mod_auth:secret_path/3"
},
{
"name": "mod_alias:real_name/3"
},
{
"name": "httpd_request:validate_uri/1"
}
]
}
]
}
],
"published": "2026-09-01T15:17:23.433",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-66835.html",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/9641944a2efbf55bea760f8ff7ba777fe3a0961c",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/d8878dec0ececc2eab18e47bb18b472f224ca633",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/security/advisories/GHSA-r4vv-vc2c-2fw6",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-66835",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://www.erlang.org/doc/system/versions.html#order-of-versions",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"description": [
{
"lang": "en",
"value": "CWE-50"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Path Equivalence vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by prefixing the request path with an extra slash.\n\nhttpd_request:validate_uri/1 normalises the request URI with uri_string:normalize/1, which performs RFC 3986 dot-segment removal but does not collapse empty path segments, so a doubled slash survives. mod_alias:real_name/3 concatenates the document root with that URI, and mod_auth:secret_path/3 then decides whether the result lies inside a protected directory block by running the configured directory path as an unanchored regular expression against it. The doubled slash breaks the contiguous substring the regex needs, so the request is treated as unprotected and no authentication challenge is issued, while mod_get opens the same path and the operating system collapses the doubled slash and returns the protected file. The same path mismatch also evades the per-path accounting in mod_security.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown."
}
],
"lastModified": "2026-11-20T06:17:36.290",
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}