{"id":"CVE-2026-28808","aliases":["CVE-2026-28808","EEF-CVE-2026-28808","GHSA-3vhp-h532-mc3f"],"related":[],"kind":"vulnerability","state":"published","title":"ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)","summary":"Incorrect Authorization vulnerability in Erlang OTP (inets modules) allows unauthenticated access to CGI scripts protected by directory rules when served via script_alias.\n\nWhen 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.\n\nThis 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.\n\nThis 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Incorrect Authorization vulnerability in Erlang OTP (inets modules) allows unauthenticated access to CGI scripts protected by directory rules when served via script_alias.\n\nWhen 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.\n\nThis 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.\n\nThis 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":"cvelist"},{"lang":"en","text":"## Summary\n\nIncorrect Authorization vulnerability in Erlang OTP (inets modules) allows unauthenticated access to CGI scripts protected by `directory` rules when served via `script_alias`.\n\nWhen `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.\n\nThis 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`.\n\nThis 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.\n\n## Workarounds\n\n* Move CGI scripts inside `DocumentRoot` and use `alias` instead of `script_alias` to ensure `mod_auth` resolves the correct path.\n* Apply URL-based access controls at a reverse proxy layer to block unauthenticated access to the `script_alias` URL prefix.\n* Remove `mod_cgi` from the httpd modules chain if CGI functionality is not required.\n\n## Configurations\n\nThe inets httpd server must use `script_alias` to map a URL prefix to a CGI directory, combined with `directory`-based access controls (e.g., `mod_auth`) protecting the `script_alias` target path. The vulnerability applies whenever the `script_alias` target path differs from `DocumentRoot` + URL prefix.","format":"markdown","source":"eef"},{"lang":"es","text":"Una vulnerabilidad de autorización incorrecta en Erlang OTP (módulos inets) permite acceso no autenticado a scripts CGI protegidos por reglas de directorio cuando se sirven a través de script_alias.\n\nCuando script_alias mapea un prefijo de URL a un directorio fuera de DocumentRoot, mod_auth evalúa los controles de acceso basados en directorio contra la ruta relativa a DocumentRoot mientras mod_cgi ejecuta el script en la ruta resuelta por ScriptAlias. Esta falta de coincidencia de rutas permite acceso no autenticado a scripts CGI que las reglas de directorio estaban destinadas a proteger.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/inets/src/http_server/mod_alias.erl, lib/inets/src/http_server/mod_auth.erl, y lib/inets/src/http_server/mod_cgi.erl.\n\nEste problema afecta a OTP desde OTP 17.0 hasta OTP 28.4.2, 27.3.4.10 y 26.2.5.19 correspondiente a inets desde 5.10 hasta 9.6.2, 9.3.2.4 y 9.1.0.6.","source":"nvd"}],"published":"2026-04-07T12:28:16.056Z","modified":"2026-11-25T06:30:21.721Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-551","CWE-863"],"affected":[{"ranges":[{"type":"otp","introduced":"5.10","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"inets","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"otp","introduced":"17.0","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","fixed":"*","status":"affected"},{"type":"git","introduced":"8fc71ac6af4fbcc54103bec2983ef22e82942688","fixed":"*","status":"unaffected"},{"type":"git","introduced":"9dfa0c51eac97866078e808dec2183cb7871ff7c","fixed":"*","status":"unaffected"}],"vendor":"Erlang","product":"OTP","package":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","package":"erlang","cpe":"cpe:/a:redhat:openstack:16.2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 17.1","package":"erlang","cpe":"cpe:/a:redhat:openstack:17.1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","package":"erlang","cpe":"cpe:/a:redhat:openstack:18.0","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","status":"affected","fixed":"8fc71ac6af4fbcc54103bec2983ef22e82942688"},{"type":"git","status":"affected","fixed":"9dfa0c51eac97866078e808dec2183cb7871ff7c"}],"repo":"https://github.com/erlang/otp","source":"eef"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"9.1.0.6"},{"status":"affected","introduced":">9.2","fixed":"9.3.2.4"},{"status":"affected","introduced":">9.4","fixed":"9.6.2"}],"vendor":"erlang","product":"erlang/inets","cpe":"cpe:2.3:a:erlang:erlang\\/inets:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"17.0","fixed":"26.2.5.19"},{"status":"affected","introduced":"27.0","fixed":"27.3.4.10"},{"status":"affected","introduced":"28.0","fixed":"28.4.2"}],"vendor":"erlang","product":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-3vhp-h532-mc3f","tags":["advisory","related","third-party-advisory","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-28808.html","tags":["mitigation","related","vendor-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-28808","tags":["patch","related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["product","web","x-version-scheme"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/8fc71ac6af4fbcc54103bec2983ef22e82942688","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/9dfa0c51eac97866078e808dec2183cb7871ff7c","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-28808","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455909","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28808.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]}],"credits":["Igor Morgenstern / Aisle Research","Konrad Pietrzak"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-07T13:14:10.515Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28808","url":"https://www.cve.org/CVERecord?id=CVE-2026-28808","licence":"CVE Terms of Use","modified":"2026-11-20T06:03:50.240Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-28808","url":"https://osv.dev/vulnerability/EEF-CVE-2026-28808","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:21.721Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28808","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28808","licence":"Public domain","modified":"2026-11-20T06:17:23.400Z"}],"updatedAt":"2026-11-25T22:59:18.092Z","epss":{"score":0.00578,"percentile":0.48995,"date":"2026-12-01T12:00:22.000Z"}}