CVE-2026-66835
High 8.2No known exploitationFix availablehttpd mod_auth directory protection bypassed by a doubled slash in the request path
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 63% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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. httpd_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. This 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.
Weakness: CWE-50
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Erlang | OTP | 17.0 | Not documented | CVE Program |
| Erlang | OTP | 5.10 | Not documented | CVE Program |
| Erlang | OTP | 84adefa331c4159d432d22840663c38f155cd4c1 | Not documented | CVE Program |
| Microsoft | azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 | Not documented | 26.2.5.21-6 | Microsoft MSRC |
| Microsoft | azl3 erlang 26.2.5.21-6 on Azure Linux 3.0 | Not documented | 26.2.5.21-6 | Microsoft MSRC |
| Erlang | OTP (unaffected) | 9641944a2efbf55bea760f8ff7ba777fe3a0961c | Not documented | CVE Program |
| Erlang | OTP (unaffected) | bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6 | Not documented | CVE Program |
| Erlang | OTP (unaffected) | d8878dec0ececc2eab18e47bb18b472f224ca633 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Fix commit 9641944 in erlang/otp (opens in a new tab)patch
- Fix commit bac19eb in erlang/otp (opens in a new tab)patch
- Fix commit d8878de in erlang/otp (opens in a new tab)patch
- https://github.com/erlang/otp/security/advisories/GHSA-r4vv-vc2c-2fw6 (opens in a new tab)related, vendor-advisory
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- EEF CNA record for CVE-2026-66835 (opens in a new tab)related
- OSV record EEF-CVE-2026-66835 (opens in a new tab)related
- Erlang/OTP version ordering (opens in a new tab)x_version-scheme