{"id":"CVE-2026-142189","aliases":["AZL-117661","EUVD-2026-141516","GHSA-r72q-6g7w-8g6m"],"status":"published","title":"http-server through 14.1.1 Open Redirect via Directory Trailing-Slash Redirect","description":"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.","severity":{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":5.3,"vector":"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/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","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00512,"percentile":0.4517,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-601"],"published":"2026-12-02T16:51:01Z","modified":"2026-12-04T16:29:40Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"httpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.71-1"}]}]}],"products":[{"vendor":"adonisjs","product":"http-server"},{"vendor":"http-party","product":"http-server"}],"references":[{"url":"https://github.com/http-party/http-server/blob/v14.1.1/lib/core/index.js#L381-L390","tags":["technical-description","article"]},{"url":"https://github.com/http-party/http-server/blob/v14.1.1/lib/core/index.js#L20-L35","tags":["technical-description","article"]},{"url":"https://github.com/http-party/http-server/issues/982","tags":["issue-tracking","report"]},{"url":"https://www.vulncheck.com/advisories/http-server-through-14.1.1-open-redirect-via-directory-trailing-slash-redirect","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142189","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-r72q-6g7w-8g6m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142189.json","tags":["advisory"]},{"url":"https://github.com/http-party/http-server","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142189","title":"http-server through 14.1.1 Open Redirect via Directory Trailing-Slash Redirect","description":"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.","status":"published","published":"2026-12-02T16:51:01.735Z","modified":"2026-12-02T22:48:35.64Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-601"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T22:52:17.648155Z"}],"euvd":[{"id":"EUVD-2026-141516","description":"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.","status":"published","published":"2026-12-02T16:51:01Z","modified":"2026-12-02T22:48:35Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"updated_at":"2026-12-02T21:27:22.841078Z"}],"ghsa":[{"id":"GHSA-r72q-6g7w-8g6m","title":"http-server through 14.1.1 contains an open redirect vulnerability in lib/core/index.js that...","description":"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.","status":"published","published":"2026-12-02T18:31:44Z","modified":"2026-12-02T18:31:49Z","cvss":[{"version":"4.0","score":5.3,"vector":"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/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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-12-02T18:38:43.855074Z"}],"nvd":[{"id":"CVE-2026-142189","description":"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.","status":"published","published":"2026-12-02T17:17:39.893Z","modified":"2026-12-04T16:29:40.94Z","cvss":[{"version":"4.0","score":5.3,"vector":"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/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","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-601"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T23:19:38.051602Z"}],"osv":[{"id":"CVE-2026-142189","title":"http-server through 14.1.1 Open Redirect via Directory Trailing-Slash Redirect","description":"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.","status":"published","published":"2026-12-02T16:51:01.735Z","modified":"2026-12-03T21:01:55.908821716Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-12-03T21:10:05.302032Z"},{"id":"AZL-117661","upstream":["CVE-2026-142189"],"title":"CVE-2026-142189 affecting package httpd 2.4.71-1","description":"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.","status":"published","published":"2026-12-02T17:17:39Z","modified":"2026-12-03T14:17:43.508341232Z","updated_at":"2026-12-03T14:59:42.219217Z"}]}}
