CVE-2026-66835
httpd mod_auth directory protection bypassed by a doubled slash in the request path
Check your servers for CVE-2026-66835
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-66835 affects inets, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity none, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.89%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 60.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Sep 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-50 Path Equivalence: '//multiple/leading/slash'
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
OTP
package
inets |
affected 5.10 and later (unaffected from 9.3.2.7, unaffected from 9.6.2.3, unaffected from 9.7.2)
Other versions: unknown
|
|
OTP
package
otp |
affected 17.0 and later (unaffected from 27.3.4.17, unaffected from 28.5.0.6, unaffected from 29.0.6)
Other versions: unknown
|
|
OTP
package
erlang/otp |
affected 84adefa331c4159d432d22840663c38f155cd4c1 and later (unaffected from 9641944a2efbf55bea760f8ff7ba777fe3a0961c, unaffected from bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6, unaffected from d8878dec0ececc2eab18e47bb18b472f224ca633) unaffected 9641944a2efbf55bea760f8ff7ba777fe3a0961c and later unaffected bac19eb3dbd96cc49b6d8cabc1c04248bf8c79f6 and later unaffected d8878dec0ececc2eab18e47bb18b472f224ca633 and later
Other versions: unknown
|
Is my server affected?
Find the installed version of inets and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i inets
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-66835 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-66835RHEL, Rocky, Alma, Fedora
rpm -q inets
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-66835Alpine
apk list --installed | grep -i inetsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-66835
trivy image --scanners vuln IMAGE | grep CVE-2026-66835
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/erlang/otp/security/advisories/GHSA-r4vv-vc2c-2fw6 github.com · vendor advisory, related
Patches and release notes
- Fix commit 9641944 in erlang/otp github.com · patch
- Fix commit bac19eb in erlang/otp github.com · patch
- Fix commit d8878de in erlang/otp github.com · patch
Other references
- EEF CNA record for CVE-2026-66835 cna.erlef.org · related
- OSV record EEF-CVE-2026-66835 osv.dev · related
- Erlang/OTP version ordering erlang.org
Source: the record CVE-2026-66835 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse