Skip to content
Threat Brief

← All advisories

CVE-2026-28808

High 8.3No known exploitationFix available

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

Record last updated

CVSS score

8.3

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.6%

Higher than 48% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-863

Patching and mitigation

Patch status
Fix available (source: NVD (reference tagged Patch))
Fix documented (source date)
Mitigation
* 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. Source (opens in a new tab)
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
ErlangOTP07b8f441ca711f9812fad9e9115bab3c3aa92f79Not documentedCVE Program
ErlangOTP17.0Not documentedCVE Program
ErlangOTP5.10Not documentedCVE Program
erlangerlang/inetsfrom 5.10 before 9.1.0.69.1.0.6NIST NVD
erlangerlang/inetsafter 9.2 before 9.3.2.49.3.2.4NIST NVD
erlangerlang/inetsafter 9.4 before 9.6.29.6.2NIST NVD
erlangerlang/otpfrom 17.0 before 26.2.5.1926.2.5.19NIST NVD
erlangerlang/otpfrom 27.0 before 27.3.4.1027.3.4.10NIST NVD
erlangerlang/otpfrom 28.0 before 28.4.228.4.2NIST NVD
ErlangOTP (unaffected)8fc71ac6af4fbcc54103bec2983ef22e82942688Not documentedCVE Program
ErlangOTP (unaffected)9dfa0c51eac97866078e808dec2183cb7871ff7cNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by EEF

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by NVD (reference tagged Patch)

    Source: NVD (reference tagged Patch) (opens in a new tab)

Vendor guidance and references

CVE-2026-28808: ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch) · Threat Brief