Skip to main content
VulnerabilityPublished Updated

CVE-2023-26159: follow-redirects · Improper Input Validation

Affects follow-redirectsSource CVE Database V5

0

Public exploit available · CVSS 7.3 High : upgrade to 1.15.4 as a priority.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.15.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade follow-redirects to 1.15.4.

Affected software

ProductAffectedFixed in
npmfollow-redirectspkg:npm/follow-redirectsOther threatsAffected
  • <1.15.4
Fixed in
  • 1.15.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2023-26159, organizations should immediately upgrade the follow-redirects package to version 1.15.4 or later, where the URL parsing vulnerability has been addressed. Conduct a thorough audit of all codebases and dependencies to identify usage of vulnerable versions of follow-redirects. Implement strict input validation and sanitization for all URLs processed by applications, ensuring that malformed or unexpected URLs are rejected before processing. Employ web application firewalls (WAFs) with rules to detect and block suspicious redirect patterns. Monitor network traffic and logs for unusual redirect activity or spikes in outbound connections to unknown domains. Educate developers on secure URL handling practices and the risks of open redirects. For critical services, consider implementing multi-factor authentication and anti-phishing controls to reduce the impact of potential redirect-based phishing attacks. Finally, maintain an up-to-date inventory of third-party packages and subscribe to vulnerability advisories to respond promptly to future issues.

Description

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.

References

Community reviews

Loading reviews…