Skip to main content
No exploitation reportedFix available

CVE-2026-27601

No exploitation reported by the sources we read.

  • Published2026-03-03
  • Fixed in1.13.8
  • WeaknessCWE-770

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Underscore.js is a utility-belt library for JavaScript. Prior to 1.13.8, the _.flatten and _.isEqual functions use recursion without a depth limit. Under very specific conditions, detailed below, an attacker could exploit this in a Denial of Service (DoS) attack by triggering a stack overflow. Untrusted input must be used to create a recursive datastructure, for example using JSON.parse, with no enforced depth limit. The datastructure thus created must be passed to _.flatten or _.isEqual. In the case of _.flatten, the vulnerability can only be exploited if it is possible for a remote client to prepare a datastructure that consists of arrays at all levels AND if no finite depth limit is passed as the second argument to _.flatten. In the case of _.isEqual, the vulnerability can only be exploited if there exists a code path in which two distinct datastructures that were submitted by the same remote client are compared using _.isEqual. For example, if a client submits data that are stored in a database, and the same client can later submit another datastructure that is then compared to the data that were saved in the database previously, OR if a client submits a single request, but its data are parsed twice, creating two non-identical but equivalent datastructures that are then compared. Exceptions originating from the call to _.flatten or _.isEqual, as a result of a stack overflow, are not being caught. This vulnerability is fixed in 1.13.8.

Timeline

dates in UTC
  1. 2026-03-0323:15CVE publishedNVD

Versions per branch

NVD · OSV
Underscorejs underscore
BranchAffectedFixed in
1.13< 1.13.81.13.8

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • jashkenas underscore
    Affected
    • = < 1.13.8no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-03-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/underscoreRoot:npmall versions · fixed in 1.13.1-root.io.1
  • @rootio/underscoreRoot:npmall versions · fixed in 1.12.1-root.io.1
  • @rootio/underscoreRoot:npmall versions · fixed in 1.13.6-root.io.1
  • @rootio/underscoreRoot:npmall versions · fixed in 1.2.1-root.io.1
  • @rootio/underscoreRoot:npmall versions · fixed in 1.13.7-root.io.1
  • @rootio/underscoreRoot:npmall versions · fixed in 1.13.3-root.io.1
  • agama-web-uiopenSUSE:Leap 16.0all versions · fixed in 17+673.b97ba64d6-160000.12.1
  • anythingllmMinimOSall versions · no fixed version listedand 1 other package

56 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-27601 Red Hat Product Security3 products fixed · 88 known affected

    Underscore.js: Underscore.js: Denial of Service via recursive data structures in flatten and isEqual functions

    openshift-logging/elasticsearch-operator-bundle as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/elasticsearch-proxy-rhel9 as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/elasticsearch-rhel9-operator as a component of Logging Subsystem for Red Hat OpenShift · +85 more

  • RHSA-2026:61939 Red Hat Product Security316 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security and bug fix updates

  • RHSA-2026:24841 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.10.0 release.

  • RHSA-2026:13826 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.9.4 release.

  • RHSA-2026:9742 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.8.6 release.

Full record on NVD

Fix

  1. Update Underscorejs underscore to 1.13.8
  2. Vendor fix Red Hat Product Security RHSA-2026:61939 · 316 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258 For supported configurations, refer to: https://access.redhat.com/articles/1548993
  3. Vendor fix Red Hat Product Security RHSA-2026:24841 · 1 productFor more about Red Hat Developer Hub, see References links
  4. Workaround from the vendor Red Hat Product Security RHSA-2026:61939 · 316 productsTo mitigate this issue, applications utilizing Underscore.js should ensure that any processing of untrusted, recursively structured data with `_.flatten` or `_.isEqual` explicitly enforces a finite depth limit. Review application code to identify and modify calls to these functions, adding appropri…
  5. No fix available, says the vendor Red Hat Product Security CVE-2026-27601 · 85 productsFix deferred
  6. No fix planned, says the vendor Red Hat Product Security CVE-2026-27601 · 3 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-03-04
  • CNACVSS 4.08.2known since 2026-10-23
  • NVDCVSS 3.15.9read 2026-10-23
  • CNAweakness (CWE)CWE-770known since 2026-10-23
  • FIRST EPSSEPSS score1.0 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-03-03

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-03-03
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-qpx9-hpmf-5gmw

Frequently asked questions

What is CVE-2026-27601?

Underscore.js is a utility-belt library for JavaScript. Prior to 1.13.8, the _.flatten and _.isEqual functions use recursion without a depth limit. Under very specific conditions, detailed below, an attacker could exploit this in a Denial of Service (DoS) attack by triggering a stack overflow. Untrusted input must be used to create a recursive datastructure, for example using JSON.parse, with no enforced depth limit. The datastructure thus created must be passed to _.flatten or _.isEqual. In the case of _.flatten, the vulnerability can only be exploited if it is possible for a remote client to prepare a datastructure that consists of arrays at all levels AND if no finite depth limit is passed as the second argument to _.flatten. In the case of _.isEqual, the vulnerability can only be exploited if there exists a code path in which two distinct datastructures that were submitted by the same remote client are compared using _.isEqual. For example, if a client submits data that are stored in a database, and the same client can later submit another datastructure that is then compared to the data that were saved in the database previously, OR if a client submits a single request, but its data are parsed twice, creating two non-identical but equivalent datastructures that are then compared. Exceptions originating from the call to _.flatten or _.isEqual, as a result of a stack overflow, are not being caught. This vulnerability is fixed in 1.13.8.

Is CVE-2026-27601 actively exploited?

Active exploitation of CVE-2026-27601 has not been confirmed. Its EPSS score was 1.0% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-27601?

CVE-2026-27601 has a CVSS v3 base score of 5.9 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running underscore? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record