Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-40895

Type: advisorySource: OSV1 source record

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Prior to 1.16.0, when an HTTP request follows a cross-domain redirect (301/302/307/308), follow-redirects only strips authorization, proxy-authorization, and cookie headers (matched by regex at index.js). Any custom authentication header (e.g., X-API-Key, X-Auth-Token, Api-Key, Token) is forwarded verbatim to the redirect target. This vulnerability is fixed in 1.16.0.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-40895

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-40895

node-follow-redirects

Source reference: /affected/0/package/name

Affected versions
1.15.11+~1.14.4-1

Source reference: /affected/0/versions

1.15.11+~1.14.4-2

Source reference: /affected/0/versions

1.15.2+~1.14.1-1

Source reference: /affected/0/versions

1.15.3+~1.14.2-1

Source reference: /affected/0/versions

1.15.6+~1.14.4-1

Source reference: /affected/0/versions

1.15.6+~1.14.4-2

Source reference: /affected/0/versions

1.15.9+~1.14.4-1

Source reference: /affected/0/versions

1.16.0+~1.14.4-1

Source reference: /affected/0/versions

1.16.0+~1.14.4-2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

node-follow-redirects

Source reference: /affected/1/package/name

Affected versions
1.15.11+~1.14.4-1

Source reference: /affected/1/versions

1.15.11+~1.14.4-2

Source reference: /affected/1/versions

1.15.9+~1.14.4-1

Source reference: /affected/1/versions

1.16.0+~1.14.4-1

Source reference: /affected/1/versions

1.16.0+~1.14.4-2

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

node-follow-redirects

Source reference: /affected/2/package/name

Affected versions
1.15.11+~1.14.4-1

Source reference: /affected/2/versions

1.15.11+~1.14.4-2

Source reference: /affected/2/versions

1.15.9+~1.14.4-1

Source reference: /affected/2/versions

Fixed versions
1.16.0+~1.14.4-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "node-follow-redirects",
      "purl": "pkg:deb/debian/node-follow-redirects?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.15.11+~1.14.4-1",
      "1.15.11+~1.14.4-2",
      "1.15.2+~1.14.1-1",
      "1.15.3+~1.14.2-1",
      "1.15.6+~1.14.4-1",
      "1.15.6+~1.14.4-2",
      "1.15.9+~1.14.4-1",
      "1.16.0+~1.14.4-1",
      "1.16.0+~1.14.4-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40895.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "node-follow-redirects",
      "purl": "pkg:deb/debian/node-follow-redirects?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.15.11+~1.14.4-1",
      "1.15.11+~1.14.4-2",
      "1.15.9+~1.14.4-1",
      "1.16.0+~1.14.4-1",
      "1.16.0+~1.14.4-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40895.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.16.0+~1.14.4-1"
          }
        ]
      }
    ],
    "package": {
      "name": "node-follow-redirects",
      "purl": "pkg:deb/debian/node-follow-redirects?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.15.11+~1.14.4-1",
      "1.15.11+~1.14.4-2",
      "1.15.9+~1.14.4-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40895.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56967 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement