| Name | CVE-2026-28808 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6464-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| erlang (PTS) | bookworm | 1:25.2.3+dfsg-1+deb12u4 | vulnerable |
| bookworm (security) | 1:25.2.3+dfsg-1+deb12u1 | vulnerable | |
| trixie (security), trixie | 1:27.3.4.1+dfsg-1+deb13u3 | fixed | |
| forky, sid | 1:29.0.6+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| erlang | source | trixie | 1:27.3.4.1+dfsg-1+deb13u3 | DSA-6464-1 | ||
| erlang | source | (unstable) | 1:27.3.4.10+dfsg-1 |
[bookworm] - erlang <no-dsa> (Minor issue)
[bullseye] - erlang <postponed> (Minor issue, can be fixed with next update)
https://github.com/erlang/otp/security/advisories/GHSA-3vhp-h532-mc3f
Fixed by: https://github.com/erlang/otp/commit/8fc71ac6af4fbcc54103bec2983ef22e82942688 (OTP-27.3.4.10, OTP-28.4.2)
https://cna.erlef.org/cves/CVE-2026-28808.html