CVE-2026-28808
High 8.3No known exploitationFix availableScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 48% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Incorrect Authorization vulnerability in Erlang OTP (inets modules) allows unauthenticated access to CGI scripts protected by directory rules when served via script_alias. When script_alias maps a URL prefix to a directory outside DocumentRoot, mod_auth evaluates directory-based access controls against the DocumentRoot-relative path while mod_cgi executes the script at the ScriptAlias-resolved path. This path mismatch allows unauthenticated access to CGI scripts that directory rules were meant to protect. This vulnerability is associated with program files lib/inets/src/http_server/mod_alias.erl, lib/inets/src/http_server/mod_auth.erl, and lib/inets/src/http_server/mod_cgi.erl. This issue affects OTP from OTP 17.0 before OTP 26.2.5.19, OTP 27.3.4.10, and OTP 28.4.2, corresponding to inets from 5.10 before 9.1.0.6, 9.3.2.4, and 9.6.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Weakness: CWE-863
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- * Move CGI scripts inside DocumentRoot and use alias instead of script_alias to ensure mod_auth resolves the correct path. * Apply URL-based access controls at a reverse proxy layer to block unauthenticated access to the script_alias URL prefix. * Remove mod_cgi from the httpd modules chain if CGI functionality is not required. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Erlang | OTP | 07b8f441ca711f9812fad9e9115bab3c3aa92f79 | Not documented | CVE Program |
| Erlang | OTP | 17.0 | Not documented | CVE Program |
| Erlang | OTP | 5.10 | Not documented | CVE Program |
| erlang | erlang/inets | from 5.10 before 9.1.0.6 | 9.1.0.6 | NIST NVD |
| erlang | erlang/inets | after 9.2 before 9.3.2.4 | 9.3.2.4 | NIST NVD |
| erlang | erlang/inets | after 9.4 before 9.6.2 | 9.6.2 | NIST NVD |
| erlang | erlang/otp | from 17.0 before 26.2.5.19 | 26.2.5.19 | NIST NVD |
| erlang | erlang/otp | from 27.0 before 27.3.4.10 | 27.3.4.10 | NIST NVD |
| erlang | erlang/otp | from 28.0 before 28.4.2 | 28.4.2 | NIST NVD |
| Erlang | OTP (unaffected) | 8fc71ac6af4fbcc54103bec2983ef22e82942688 | Not documented | CVE Program |
| Erlang | OTP (unaffected) | 9dfa0c51eac97866078e808dec2183cb7871ff7c | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- EEF CNA record for CVE-2026-28808 (opens in a new tab)mitigation, related, vendor advisory
- Fix commit 8fc71ac in erlang/otp (opens in a new tab)patch
- Fix commit 9dfa0c5 in erlang/otp (opens in a new tab)patch
- GitHub Advisory (opens in a new tab)related, third party advisory, vendor-advisory
- OSV record EEF-CVE-2026-28808 (opens in a new tab)patch, related, third party advisory
- https://access.redhat.com/security/cve/CVE-2026-28808 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2455909 (opens in a new tab)issue-tracking, x_refsource_redhat
- Introducing commit 07b8f44 in erlang/otp (opens in a new tab)related
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28808.json (opens in a new tab)x_sadp-csaf-vex
- Erlang/OTP version ordering (opens in a new tab)product, x_version-scheme