CVE-2026-28808ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path…
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Fixed | 1:27.3.4.6+dfsg-1ubuntu0.2 | UBUNTU-CVE-2026-28808 |
| Ubuntu 25.10 | erlang | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-28808 | |
| Ubuntu 24.04 | erlang | Fixed | 1:25.3.2.8+dfsg-1ubuntu4.8 | UBUNTU-CVE-2026-28808 |
| Ubuntu 22.04 | erlang | Fixed | 1:24.2.1+dfsg-1ubuntu0.8 | UBUNTU-CVE-2026-28808 |
| Ubuntu 20.04 | erlang | Fix pending | 1:22.2.7+dfsg-1ubuntu0.5+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-28808 |
| Ubuntu 18.04 | erlang | Fix pending | 1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-28808 |
| Ubuntu 16.04 | erlang | Fix pending | 1:18.3-dfsg-1ubuntu3.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-28808 |
| Ubuntu 14.04 | erlang | Fix pending | 1:16.b.3-dfsg-1ubuntu2.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-28808 |
| Debian 14 | erlang | Fixed | 1:27.3.4.10+dfsg-1 | DEBIAN-CVE-2026-28808 |
| Debian 13 | erlang | Fixed | 1:27.3.4.1+dfsg-1+deb13u3 | DEBIAN-CVE-2026-28808 |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-28808 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 5.10 and later; fixed in
9.1.0.6,9.3.2.4,9.6.2 - Erlang OTP: affected: 17.0 and later; fixed in
26.2.5.19,27.3.4.10,28.4.2 - Erlang OTP: affected: 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and later; fixed in
8fc71ac6af4fbcc54103bec2983ef22e82942688,9dfa0c51eac97866078e808dec2183cb7871ff7c
Workaround: * 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.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-3vhp-h532-mc3f (vendor-advisory)
- https://github.com/erlang/otp/commit/8fc71ac6af4fbcc54103bec2983ef22e82942688 (patch)
- https://github.com/erlang/otp/commit/9dfa0c51eac97866078e808dec2183cb7871ff7c (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-3vhp-h532-mc3f
- https://cna.erlef.org/cves/CVE-2026-28808.html
- https://osv.dev/vulnerability/EEF-CVE-2026-28808
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79
- https://github.com/erlang/otp/commit/8fc71ac6af4fbcc54103bec2983ef22e82942688
- https://github.com/erlang/otp/commit/9dfa0c51eac97866078e808dec2183cb7871ff7c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.