Vulnerabilities / CVE-2026-28808

critical

CVE-2026-28808

erlang/otp: inets: Erlang OTP inets modules: Unauthenticated access to protected CGI scripts via incorrect authorization

Published Modified CWE 863, 551
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

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

SourcePackageFixed in
Photon OS 4.0erlang27.3.4.10-1.ph4
Photon OS 5.0erlang27.3.4.10-1.ph5
Azure Linux 3.0erlang0:26.2.5.19-1.azl3
debian 11erlangno fix listed
debian 12erlangno fix listed
debian 13erlang1:27.3.4.1+dfsg-1+deb13u3
debian 14erlang1:27.3.4.10+dfsg-1
echoerlang1:27.3.4.1+dfsg-1+deb13u3
rapidfort alpine 3.20erlang26.2.5.12-r0
rapidfort alpine 3.21erlang26.2.5.12-r0
rapidfort alpine 3.22erlang26.2.5.12-r0
rapidfort alpine 3.23erlang26.2.5.12-r0
Show all 65 entries from 24 sources
SourcePackageFixed in
Photon OS 4.0erlang27.3.4.10-1.ph4
Photon OS 5.0erlang27.3.4.10-1.ph5
Azure Linux 3.0erlang0:26.2.5.19-1.azl3
debian 11erlangno fix listed
debian 12erlangno fix listed
debian 13erlang1:27.3.4.1+dfsg-1+deb13u3
debian 14erlang1:27.3.4.10+dfsg-1
echoerlang1:27.3.4.1+dfsg-1+deb13u3
rapidfort alpine 3.20erlang26.2.5.12-r0
rapidfort alpine 3.21erlang26.2.5.12-r0
rapidfort alpine 3.22erlang26.2.5.12-r0
rapidfort alpine 3.23erlang26.2.5.12-r0
rapidfort alpine 3.24erlang26.2.5.12-r0
rapidfort debian 12erlang1:27.3.4.1+dfsg-1+deb13u3, 1:27.3.4.10+dfsg-1
rapidfort debian 13erlang1:27.3.4.1+dfsg-1+deb13u3, 1:27.3.4.10+dfsg-1
rapidfort fedora 43erlang26.2.5.19-1.fc43
rapidfort fedora 43erlang-asn126.2.5.19-1.fc43
rapidfort fedora 43erlang-common_test26.2.5.19-1.fc43
rapidfort fedora 43erlang-compiler26.2.5.19-1.fc43
rapidfort fedora 43erlang-crypto26.2.5.19-1.fc43
rapidfort fedora 43erlang-debugger26.2.5.19-1.fc43
rapidfort fedora 43erlang-dialyzer26.2.5.19-1.fc43
rapidfort fedora 43erlang-diameter26.2.5.19-1.fc43
rapidfort fedora 43erlang-doc26.2.5.19-1.fc43
rapidfort fedora 43erlang-edoc26.2.5.19-1.fc43
rapidfort fedora 43erlang-eldap26.2.5.19-1.fc43
rapidfort fedora 43erlang-erl_docgen26.2.5.19-1.fc43
rapidfort fedora 43erlang-erl_interface26.2.5.19-1.fc43
rapidfort fedora 43erlang-erts26.2.5.19-1.fc43
rapidfort fedora 43erlang-et26.2.5.19-1.fc43
rapidfort fedora 43erlang-eunit26.2.5.19-1.fc43
rapidfort fedora 43erlang-examples26.2.5.19-1.fc43
rapidfort fedora 43erlang-ftp26.2.5.19-1.fc43
rapidfort fedora 43erlang-gdb-tools26.2.5.19-1.fc43
rapidfort fedora 43erlang-inets26.2.5.19-1.fc43
rapidfort fedora 43erlang-jinterface26.2.5.19-1.fc43
rapidfort fedora 43erlang-kernel26.2.5.19-1.fc43
rapidfort fedora 43erlang-megaco26.2.5.19-1.fc43
rapidfort fedora 43erlang-mnesia26.2.5.19-1.fc43
rapidfort fedora 43erlang-observer26.2.5.19-1.fc43
rapidfort fedora 43erlang-odbc26.2.5.19-1.fc43
rapidfort fedora 43erlang-os_mon26.2.5.19-1.fc43
rapidfort fedora 43erlang-parsetools26.2.5.19-1.fc43
rapidfort fedora 43erlang-public_key26.2.5.19-1.fc43
rapidfort fedora 43erlang-reltool26.2.5.19-1.fc43
rapidfort fedora 43erlang-runtime_tools26.2.5.19-1.fc43
rapidfort fedora 43erlang-sasl26.2.5.19-1.fc43
rapidfort fedora 43erlang-snmp26.2.5.19-1.fc43
rapidfort fedora 43erlang-src26.2.5.19-1.fc43
rapidfort fedora 43erlang-ssh26.2.5.19-1.fc43
rapidfort fedora 43erlang-ssl26.2.5.19-1.fc43
rapidfort fedora 43erlang-stdlib26.2.5.19-1.fc43
rapidfort fedora 43erlang-syntax_tools26.2.5.19-1.fc43
rapidfort fedora 43erlang-tftp26.2.5.19-1.fc43
rapidfort fedora 43erlang-tools26.2.5.19-1.fc43
rapidfort fedora 43erlang-wx26.2.5.19-1.fc43
rapidfort fedora 43erlang-xmerl26.2.5.19-1.fc43
rapidfort ubuntu 20.04erlang1: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.04erlang1: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.04erlang1: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-ESMerlang1:20.2.2+dfsg-1ubuntu2+esm4
ubuntu 20.04-ESMerlang1:22.2.7+dfsg-1ubuntu0.5+esm3
ubuntu 22.04erlang1:24.2.1+dfsg-1ubuntu0.8
ubuntu 24.04erlang1:25.3.2.8+dfsg-1ubuntu4.8
ubuntu 26.04erlang1:27.3.4.6+dfsg-1ubuntu0.2

References

All 13 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.