Skip to content
Heist/ feed
Back to feed
High

node-axios — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-42039

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with a RangeError. This vulnerability is fixed in 1.15.1 and 0.31.1.

Products
node-axios
Affected versions
0.19.0+dfsg-2, 0.19.0+dfsg-2ubuntu0.1~esm1, 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, 0.26.0+dfsg-1ubuntu0.1~esm1, 1.11.0+dfsg-1, 1.12.1+dfsg-1, 1.13.2+dfsg-1build1, 1.13.2+dfsg-1ubuntu0.1~esm1, 1.16.0-1, 1.18.0-1, 1.19.0-1, 1.2.1+dfsg-1, 1.5.1+dfsg-1, 1.6.2+dfsg-1, 1.6.8+dfsg-2, 1.6.8+dfsg-2ubuntu0.1~esm1, 1.7.9+dfsg-1, 1.8.4+dfsg-1
Fixed versions
Not specified
CVEs
CVE-2026-42039
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:02 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-42039

core-osv · Original source

Published 24 Apr 2026, 18:16 UTC

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with a RangeError. This vulnerability is fixed in 1.15.1 and 0.31.1.

osv:UBUNTU-CVE-2026-42039

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: Not specified

node-axios

Fixed versions: Not specified

Complete source record
{
  "id": "38e4823eeefc6e8c8f4272b112571b1989a8fa26c4bb5a443c431d07c0c0827a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-42039",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-42039",
    "summary": "Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with a RangeError. This vulnerability is fixed in 1.15.1 and 0.31.1.",
    "evidence": "osv:UBUNTU-CVE-2026-42039",
    "products": [
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.19.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.19.0+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.21.1+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.23.0+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.24.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.25.0+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.26.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.26.0+dfsg-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.5.1+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.6.2+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.6.8+dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.6.8+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.9+dfsg-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.8.4+dfsg-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.11.0+dfsg-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.13.2+dfsg-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.16.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.18.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.19.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-axios",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.0+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.12.1+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.13.2+dfsg-1build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.13.2+dfsg-1ubuntu0.1~esm1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-42039",
      "aliases": [
        "UBUNTU-CVE-2026-42039"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "0.19.0+dfsg-2",
            "0.19.0+dfsg-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42039.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-axios",
                "binary_version": "0.19.0+dfsg-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "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",
            "0.26.0+dfsg-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42039.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-axios",
                "binary_version": "0.26.0+dfsg-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.2.1+dfsg-1",
            "1.5.1+dfsg-1",
            "1.6.2+dfsg-1",
            "1.6.8+dfsg-2",
            "1.6.8+dfsg-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42039.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-axios",
                "binary_version": "1.6.8+dfsg-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/ubuntu/node-axios?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.7.9+dfsg-1",
            "1.8.4+dfsg-1",
            "1.11.0+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42039.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-axios",
                "binary_version": "1.11.0+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/ubuntu/node-axios?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.13.2+dfsg-1build1",
            "1.16.0-1",
            "1.18.0-1",
            "1.19.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42039.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-axios",
                "binary_version": "1.19.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-axios",
            "purl": "pkg:deb/ubuntu/node-axios?arch=source&distro=esm-apps%2Fresolute",
            "ecosystem": "Ubuntu:Pro:26.04:LTS"
          },
          "versions": [
            "1.11.0+dfsg-1",
            "1.12.1+dfsg-1",
            "1.13.2+dfsg-1build1",
            "1.13.2+dfsg-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42039.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-axios",
                "binary_version": "1.13.2+dfsg-1ubuntu0.1~esm1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:04.180200777Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-42039"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-42039",
        "https://www.cve.org/CVERecord?id=CVE-2026-42039",
        "https://github.com/axios/axios/security/advisories/GHSA-62hf-57xw-28j9"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-42039",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 360245,
  "published_at": "2026-04-24T18:16:00+00:00"
}