CVE-2026-142189

Source
https://cve.org/CVERecord?id=CVE-2026-142189
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142189.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142189
Downstream
Published
2026-12-02T16:51:01Z
Modified
2026-12-02T23:45:51Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
http-server through 14.1.1 Open Redirect via Directory Trailing-Slash Redirect
Details

http-server through 14.1.1 contains an open redirect vulnerability in lib/core/index.js that builds the 302 Location header from the raw request pathname plus a slash. Unauthenticated attackers can craft protocol-relative paths with encoded traversal sequences resolving to an existing subdirectory, redirecting victims to attacker-controlled sites.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-601"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142189.json"
}
References

Affected packages

Git / github.com/http-party/http-server

Affected ranges

Type
GIT
Repo
https://github.com/http-party/http-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "14.1.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

0.*
0.10.0
0.11.0
0.11.1
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.9.0
v0.*
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.13.0
v0.2.1
v0.2.2
v0.2.3
v0.2.5
v0.2.7
v0.2.9
v0.3.1
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.5
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.8.0
v13.*
v13.0.0
v13.0.1
v13.0.2
v14.*
v14.0.0
v14.1.0
v14.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142189.json"