CVE-2026-66835: CWE-50 Path Equivalence: '//multiple/leading/slash' in Erlang OTP
Description
CVE-2026-66835 is a path equivalence vulnerability in the Erlang/OTP inets httpd server that allows remote unauthenticated attackers to bypass mod_auth directory protections by using multiple leading slashes in the request path. This causes the authentication check to fail due to a mismatch in path normalization and regex matching, enabling unauthorized file reads within protected directories. The vulnerability affects multiple OTP and inets versions prior to specific fixed releases.
CVSS v4.0
Score 8.2high
Affected software
Erlang
OTP
Erlang
OTP
Erlang
OTP
pkg:github/inetscpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because httpd_request:validate_uri/1 normalizes URIs by removing dot-segments but does not collapse empty path segments, allowing doubled slashes to remain. When mod_alias:real_name/3 concatenates the document root with the URI containing doubled slashes, mod_auth:secret_path/3 uses an unanchored regex to check if the path lies inside a protected directory. The doubled slash breaks the regex match, causing the request to be treated as unprotected and bypassing authentication. The operating system collapses the doubled slashes when accessing the file, allowing mod_get to serve protected files without authentication. This also evades per-path accounting in mod_security. The issue affects OTP versions from 17.0 before 27.3.4.17, 28.0 before 28.5.0.6, and 29.0 before 29.0.6, corresponding to inets versions from 5.10 before 9.3.2.7, 9.4 before 9.6.2.3, and 9.7 before 9.7.2. It is unknown if versions before OTP 17.0 are affected.
Potential Impact
An unauthenticated remote attacker can bypass HTTP authentication protections on directories protected by mod_auth in the Erlang/OTP inets httpd server. This allows unauthorized reading of files within these protected directories, potentially exposing sensitive information. The vulnerability also bypasses per-path accounting in mod_security, which could hinder detection and logging of unauthorized access attempts.
Mitigation Recommendations
Fixed versions are available for the affected OTP and inets releases. Users should upgrade to OTP versions 27.3.4.17 or later, 28.5.0.6 or later, and 29.0.6 or later, or the corresponding inets versions 9.3.2.7 or later, 9.6.2.3 or later, and 9.7.2 or later. Patch status is confirmed by the version ranges provided. No vendor advisory content contradicts this; therefore, upgrading to these fixed versions is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-17T12:00:02.063Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a96e6ebacd9273b49d7162e
Added to database: 09/01/2026, 14:53:31 UTC
Last enriched: 09/29/2026, 04:51:11 UTC
Last updated: 10/17/2026, 06:48:19 UTC
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.