Skip to main content
No exploitation reportedFix available

CVE-2026-28808

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

No exploitation reported by the sources we read.

  • Published2026-04-07
  • Fixed in9.6.2 · 9.3.2.4 · 9.1.0.6
  • WeaknessCWE-551 · CWE-863

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-04-0713:16CVE publishedNVD

Versions per branch

NVD
Erlang erlang\/inets
BranchAffectedFixed in
9.x> 9.4, < 9.6.29.6.2
9.x> 9.2, < 9.3.2.49.3.2.4
9.1≥ 5.10, < 9.1.0.69.1.0.6
Erlang erlang\/otp
BranchAffectedFixed in
28.x≥ 28.0, < 28.4.228.4.2
27.x≥ 27.0, < 27.3.4.1027.3.4.10
26.2≥ 17.0, < 26.2.5.1926.2.5.19

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA3 products

As EEF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Erlang OTPother versions: unknown

    package otp

    Affected
    • ≥ 17.0fixed in 26.2.5.19otp
  • Erlang OTPother versions: unknown

    package inetshttps://github.com/erlang/otp

    Affected
    • ≥ 5.10fixed in 9.1.0.6otp
  • Erlang OTPother versions: unknown

    package erlang/otphttps://github.com

    Affected
    • ≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79fixed in 8fc71ac6af4fbcc54103bec2983ef22e82942688git

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-22

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • erlangUbuntu:Pro:20.04:LTSall versions · fixed in 1:22.2.7+dfsg-1ubuntu0.5+esm3
  • erlangUbuntu:Pro:18.04:LTSall versions · fixed in 1:20.2.2+dfsg-1ubuntu2+esm4
  • erlangUbuntu:Pro:16.04:LTSall versions · fixed in 1:18.3-dfsg-1ubuntu3.1+esm4
  • erlangUbuntu:Pro:14.04:LTSall versions · fixed in 1:16.b.3-dfsg-1ubuntu2.2+esm3
  • erlangUbuntu:26.04:LTSall versions · fixed in 1:27.3.4.6+dfsg-1ubuntu0.2
  • erlangUbuntu:25.10all versions · no fixed version listed
  • erlangUbuntu:24.04:LTSall versions · fixed in 1:25.3.2.8+dfsg-1ubuntu4.8
  • erlangUbuntu:22.04:LTSall versions · fixed in 1:24.2.1+dfsg-1ubuntu0.8

9 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-28808 Red Hat Product Security

    erlang/otp: inets: Erlang OTP inets modules: Unauthenticated access to protected CGI scripts via incorrect authorization

Full record on NVD

Fix

  1. Update Erlang erlang\/inets to 9.6.2 · 9.3.2.4 · 9.1.0.6

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-04-07
  • CNACVSS 4.08.3known since 2026-10-27
  • CNACVSS 3.17.4known since 2026-10-27
  • NVDCVSS 3.19.8read 2026-10-27
  • CNAweakness (CWE)CWE-551, CWE-863known since 2026-10-27
  • FIRST EPSSEPSS score0.6 %2026-11-18
  • OSVaffected packages—
  • Microsoft MSRCadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-04-07
Last Modified
2026-10-26
NVD status
Modified
MSRC Title
ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)

Frequently asked questions

What is CVE-2026-28808?

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.

Is CVE-2026-28808 actively exploited?

Active exploitation of CVE-2026-28808 has not been confirmed. Its EPSS score was 0.6% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-28808?

CVE-2026-28808 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running erlang/otp? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record