UBUNTU-CVE-2026-40895

Source
https://ubuntu.com/security/CVE-2026-40895
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-40895
Upstream
Downstream
Related
Published
2026-04-21T21:16:00Z
Modified
2026-08-13T07:45:11Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:25.10
node-follow-redirects

Package

Name
node-follow-redirects
Purl
pkg:deb/ubuntu/node-follow-redirects?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.15.9+~1.14.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-follow-redirects",
            "binary_version": "1.15.9+~1.14.4-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json"
Ubuntu:Pro:18.04:LTS
node-follow-redirects

Package

Name
node-follow-redirects
Purl
pkg:deb/ubuntu/node-follow-redirects?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.4-1ubuntu0.18.04.1~esm2

Affected versions

1.*
1.2.4-1
1.2.4-1ubuntu0.18.04.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "node-follow-redirects",
            "binary_version": "1.2.4-1ubuntu0.18.04.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json"
Ubuntu:Pro:20.04:LTS
node-follow-redirects

Package

Name
node-follow-redirects
Purl
pkg:deb/ubuntu/node-follow-redirects?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.4-1ubuntu0.20.04.1~esm2

Affected versions

1.*
1.2.4-1
1.2.4-1ubuntu0.20.04.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "node-follow-redirects",
            "binary_version": "1.2.4-1ubuntu0.20.04.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json"
Ubuntu:Pro:22.04:LTS
node-follow-redirects

Package

Name
node-follow-redirects
Purl
pkg:deb/ubuntu/node-follow-redirects?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.14.9+~1.14.1-1ubuntu0.1~esm2

Affected versions

1.*
1.13.1-1
1.14.5-1
1.14.7+~1.13.1-1
1.14.8+~1.14.0-1
1.14.9+~1.14.1-1
1.14.9+~1.14.1-1ubuntu0.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "node-follow-redirects",
            "binary_version": "1.14.9+~1.14.1-1ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json"
Ubuntu:Pro:24.04:LTS
node-follow-redirects

Package

Name
node-follow-redirects
Purl
pkg:deb/ubuntu/node-follow-redirects?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.15.6+~1.14.4-1ubuntu0.1~esm1

Affected versions

1.*
1.15.2+~1.14.1-1
1.15.3+~1.14.2-1
1.15.6+~1.14.4-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "node-follow-redirects",
            "binary_version": "1.15.6+~1.14.4-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json"
Ubuntu:Pro:26.04:LTS
node-follow-redirects

Package

Name
node-follow-redirects
Purl
pkg:deb/ubuntu/node-follow-redirects?arch=source&distro=esm-apps%2Fresolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.15.11+~1.14.4-1ubuntu0.1~esm1

Affected versions

1.*
1.15.9+~1.14.4-1
1.15.11+~1.14.4-1build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "node-follow-redirects",
            "binary_version": "1.15.11+~1.14.4-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40895.json"