CVE-2026-142189: http-server Open Redirect
Published 2026-12-02 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 14.1.1 as affected and does not name a fixed release. Check the references below for a newer version of http-server or a vendor mitigation.
- Until it is patched, do not leave http-server reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block redirects to external hosts for the affected parameter at the proxy.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| http-server | ≤ 14.1.1 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality and integrity are rated low. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: Open Redirect
A link to the trusted site can send users on to an attacker-controlled site, which aids phishing.
Classified as CWE-601.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.vulncheck.com/advisories/http-server-through-14.1.1-open-redirect-via-directory-trailing-slash-redirect
- Referencehttps://github.com/http-party/http-server/blob/v14.1.1/lib/core/index.js#L20-L35
- Referencehttps://github.com/http-party/http-server/blob/v14.1.1/lib/core/index.js#L381-L390
- Referencehttps://github.com/http-party/http-server/issues/982