PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-111755 follow-redirects CVE debrief

The follow-redirects library's sensitiveHeaders option is vulnerable to regex escaping issues, potentially exposing custom credential headers during cross-origin redirects. This vulnerability arises from incomplete metacharacter escaping in the library's implementation of the sensitiveHeaders option, which can lead to silent exposure of sensitive headers. Defenders should prioritize verifying and updating library versions, assessing exposure, and implementing compensating controls to protect sensitive headers.

Vendor
follow-redirects
Product
Unknown
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-20
Original CVE updated
2026-10-20
Advisory published
2026-10-20
Advisory updated
2026-10-20

Who should care

Defenders responsible for applications using the follow-redirects library, particularly those with custom credential headers, should assess exposure and prioritize updates or compensating controls.

Why it matters

The follow-redirects library's sensitiveHeaders option is vulnerable to regex escaping issues, potentially exposing custom credential headers during cross-origin redirects. Defenders should prioritize verifying and updating library versions, assessing exposure, and implementing compensating controls.

  • Potential silent exposure of custom credential headers during cross-origin redirects
  • Defenders must verify and update follow-redirects library versions to prevent exposure
  • Implementing compensating controls to protect sensitive headers may be necessary

Technical summary

The follow-redirects library's sensitiveHeaders option is vulnerable to regex escaping issues due to incomplete metacharacter escaping. This can lead to the exposure of custom credential headers during cross-origin redirects. The library's implementation concatenates declared header names into an alternation after passing each through `escapeRegex`, which only escapes a partial set of metacharacters. As a result, header names containing certain characters, such as '^' or '|', can bypass the protection and expose sensitive headers.

Defensive priority

Defenders should prioritize verifying and updating follow-redirects library versions, assessing exposure of custom credential headers, and implementing compensating controls.

Recommended defensive actions

  • Verify and update follow-redirects library versions to 1.16.1 or later
  • Assess exposure of custom credential headers in applications using follow-redirects
  • Implement compensating controls to protect sensitive headers
  • Review and update security configurations for affected systems
  • Monitor for potential exploitation attempts
  • Conduct thorough vulnerability assessments
  • Track exceptions and retest remediated assets

Evidence notes

Evidence is based on the follow-redirects library's implementation of the sensitiveHeaders option and its regex escaping mechanism. The library's use of a partial set of metacharacters for escaping can lead to vulnerabilities in certain header names, such as those containing '^' or '|'. This can result in the exposure of custom credential headers during cross-origin redirects. Defenders should verify library versions, assess exposure, and implement compensating controls.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-111755 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-111755

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-111755 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-111755

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • follow-redirects sensitiveHeaders regex escaping can expose credential headers

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-8r9p-f939-6h3c.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-8r9p-f939-6h3c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/follow-redirects/follow-redirects/commit/080a76d0e125b37bf81717368a61d5dc37aa56c8

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/follow-redirects/follow-redirects

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/follow-redirects/follow-redirects/releases/tag/v1.16.1

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.