{"id":"CVE-2026-28808","published":"2026-04-07T12:28:16Z","modified":"2026-11-20T06:03:50Z","title":"ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)","vendor":"Erlang","product":"OTP","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00566,"percentile":0.47892,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-551","name":"Incorrect Behavior Order: Authorization Before Parsing and Canonicalization"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-3vhp-h532-mc3f","tags":["related","vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-28808.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-28808","tags":["related"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["x_version-scheme"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related"]},{"url":"https://github.com/erlang/otp/commit/8fc71ac6af4fbcc54103bec2983ef22e82942688","tags":["patch"]},{"url":"https://github.com/erlang/otp/commit/9dfa0c51eac97866078e808dec2183cb7871ff7c","tags":["patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-28808","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455909","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28808.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":9.58},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"erlang","affectedVersions":[{"vendor":"Erlang","product":"OTP","versions":[">= 5.10"]},{"vendor":"Erlang","product":"OTP","versions":[">= 17.0"]},{"vendor":"Erlang","product":"OTP","versions":[">= 07b8f441ca711f9812fad9e9115bab3c3aa92f79"]}],"fixedVersions":[{"vendor":"Erlang","product":"OTP","versions":["9.1.0.6","9.3.2.4","9.6.2"]},{"vendor":"Erlang","product":"OTP","versions":["26.2.5.19","27.3.4.10","28.4.2"]},{"vendor":"Erlang","product":"OTP","versions":["8fc71ac6af4fbcc54103bec2983ef22e82942688","9dfa0c51eac97866078e808dec2183cb7871ff7c"]}],"workarounds":{"items":["* 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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-1","name":"Accessing Functionality Not Properly Constrained by ACLs"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-07T13:14:10.515632Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-19602","exploited":false,"provenance":"source"}}