Unrated severityNVD Advisory· Published Dec 2, 2026
http-server through 14.1.1 Open Redirect via Directory Trailing-Slash Redirect
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.
Patches
Vulnerability mechanics
References
4- www.vulncheck.com/advisories/http-server-through-14.1.1-open-redirect-via-directory-trailing-slash-redirectmitrethird-party-advisory
- github.com/http-party/http-server/blob/v14.1.1/lib/core/index.jsmitretechnical-description
- github.com/http-party/http-server/blob/v14.1.1/lib/core/index.jsmitretechnical-description
- github.com/http-party/http-server/issues/982mitreissue-tracking
News mentions
0No linked articles in our index yet.