UBUNTU-CVE-2026-42035

Source
https://ubuntu.com/security/CVE-2026-42035
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42035.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-42035
Upstream
Published
2026-04-24T18:16:00Z
Modified
2026-05-20T16:12:59.677944569Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the application's dependency tree is sufficient to trigger this gadget. This vulnerability is fixed in 1.15.1 and 0.31.1.

References

Affected packages

Ubuntu:20.04:LTS / node-axios

Package

Name
node-axios
Purl
pkg:deb/ubuntu/node-axios?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.19.0+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-axios",
            "binary_version": "0.19.0+dfsg-2"
        }
    ]
}

Database specific

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

Ubuntu:22.04:LTS / node-axios

Package

Name
node-axios
Purl
pkg:deb/ubuntu/node-axios?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*
0.21.1+dfsg-1
0.23.0+dfsg-2
0.24.0+dfsg-1
0.25.0+dfsg-2
0.26.0+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-axios",
            "binary_version": "0.26.0+dfsg-1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / node-axios

Package

Name
node-axios
Purl
pkg:deb/ubuntu/node-axios?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.2.1+dfsg-1
1.5.1+dfsg-1
1.6.2+dfsg-1
1.6.8+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-axios",
            "binary_version": "1.6.8+dfsg-2"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / node-axios

Package

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

Affected ranges

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

Affected versions

1.*
1.7.9+dfsg-1
1.8.4+dfsg-1
1.11.0+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-axios",
            "binary_version": "1.11.0+dfsg-1"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / node-axios

Package

Name
node-axios
Purl
pkg:deb/ubuntu/node-axios?arch=source&distro=resolute

Affected ranges

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

Affected versions

1.*
1.11.0+dfsg-1
1.12.1+dfsg-1
1.13.2+dfsg-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-axios",
            "binary_version": "1.13.2+dfsg-1build1"
        }
    ]
}

Database specific

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