CVE-2026-28808
erlang/otp: inets: Erlang OTP inets modules: Unauthenticated access to protected CGI scripts via incorrect authorization
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (high), Azure Linux (high), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | erlang | 27.3.4.10-1.ph4 |
| Photon OS 5.0 | erlang | 27.3.4.10-1.ph5 |
| Azure Linux 3.0 | erlang | 0:26.2.5.19-1.azl3 |
| debian 11 | erlang | no fix listed |
| debian 12 | erlang | no fix listed |
| debian 13 | erlang | 1:27.3.4.1+dfsg-1+deb13u3 |
| debian 14 | erlang | 1:27.3.4.10+dfsg-1 |
| echo | erlang | 1:27.3.4.1+dfsg-1+deb13u3 |
| rapidfort alpine 3.20 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.21 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.22 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.23 | erlang | 26.2.5.12-r0 |
Show all 65 entries from 24 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | erlang | 27.3.4.10-1.ph4 |
| Photon OS 5.0 | erlang | 27.3.4.10-1.ph5 |
| Azure Linux 3.0 | erlang | 0:26.2.5.19-1.azl3 |
| debian 11 | erlang | no fix listed |
| debian 12 | erlang | no fix listed |
| debian 13 | erlang | 1:27.3.4.1+dfsg-1+deb13u3 |
| debian 14 | erlang | 1:27.3.4.10+dfsg-1 |
| echo | erlang | 1:27.3.4.1+dfsg-1+deb13u3 |
| rapidfort alpine 3.20 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.21 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.22 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.23 | erlang | 26.2.5.12-r0 |
| rapidfort alpine 3.24 | erlang | 26.2.5.12-r0 |
| rapidfort debian 12 | erlang | 1:27.3.4.1+dfsg-1+deb13u3, 1:27.3.4.10+dfsg-1 |
| rapidfort debian 13 | erlang | 1:27.3.4.1+dfsg-1+deb13u3, 1:27.3.4.10+dfsg-1 |
| rapidfort fedora 43 | erlang | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-asn1 | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-common_test | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-compiler | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-crypto | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-debugger | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-dialyzer | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-diameter | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-doc | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-edoc | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-eldap | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-erl_docgen | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-erl_interface | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-erts | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-et | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-eunit | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-examples | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-ftp | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-gdb-tools | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-inets | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-jinterface | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-kernel | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-megaco | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-mnesia | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-observer | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-odbc | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-os_mon | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-parsetools | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-public_key | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-reltool | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-runtime_tools | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-sasl | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-snmp | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-src | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-ssh | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-ssl | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-stdlib | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-syntax_tools | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-tftp | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-tools | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-wx | 26.2.5.19-1.fc43 |
| rapidfort fedora 43 | erlang-xmerl | 26.2.5.19-1.fc43 |
| rapidfort ubuntu 20.04 | erlang | 1:24.2.1+dfsg-1ubuntu0.8, 1:25.3.2.8+dfsg-1ubuntu4.8, 1:27.3.4.6+dfsg-1ubuntu0.2 |
| rapidfort ubuntu 22.04 | erlang | 1:24.2.1+dfsg-1ubuntu0.8, 1:25.3.2.8+dfsg-1ubuntu4.8, 1:27.3.4.6+dfsg-1ubuntu0.2 |
| rapidfort ubuntu 24.04 | erlang | 1:24.2.1+dfsg-1ubuntu0.8, 1:25.3.2.8+dfsg-1ubuntu4.8, 1:27.3.4.6+dfsg-1ubuntu0.2 |
| ubuntu 18.04-ESM | erlang | 1:20.2.2+dfsg-1ubuntu2+esm4 |
| ubuntu 20.04-ESM | erlang | 1:22.2.7+dfsg-1ubuntu0.5+esm3 |
| ubuntu 22.04 | erlang | 1:24.2.1+dfsg-1ubuntu0.8 |
| ubuntu 24.04 | erlang | 1:25.3.2.8+dfsg-1ubuntu4.8 |
| ubuntu 26.04 | erlang | 1:27.3.4.6+dfsg-1ubuntu0.2 |
References
- https://access.redhat.com/security/cve/CVE-2026-28808
- https://bugzilla.redhat.com/show_bug.cgi?id=2455909
- https://cna.erlef.org/cves/CVE-2026-28808.html
- https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79
- https://github.com/erlang/otp/commit/8fc71ac6af4fbcc54103bec2983ef22e82942688
- https://github.com/erlang/otp/commit/9dfa0c51eac97866078e808dec2183cb7871ff7c
- https://github.com/erlang/otp/security/advisories/GHSA-3vhp-h532-mc3f
- https://nvd.nist.gov/vuln/detail/CVE-2026-28808