PoC Monitor
← All CVEs
CVE-2026-28808published 7 Apr 2026 12:28 UTCData: JSON · API

Erlang OTP

ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-863
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Erlang OTP
  • >= 5.10, < *

Fixed in *, 9.1.0.6, 9.3.2.4, 9.6.2

Erlang OTP
  • >= 17.0, < *

Fixed in *, 26.2.5.19, 27.3.4.10, 28.4.2

Erlang OTP
  • >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79, < *

Fixed in *, 8fc71ac6af4fbcc54103bec2983ef22e82942688, 9dfa0c51eac97866078e808dec2183cb7871ff7c

Mitigation

Upgrade OTP to * or 9.1.0.6 or 9.3.2.4 or 9.6.2 or later.

Upgrade OTP to * or 26.2.5.19 or 27.3.4.10 or 28.4.2 or later.

Upgrade OTP to * or 8fc71ac6af4fbcc54103bec2983ef22e82942688 or 9dfa0c51eac97866078e808dec2183cb7871ff7c or later.

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.

References

1 more

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.