Skip to main content
CVE-2026-119051VulnerabilityPublished

flat through 6.0.1 contains an uncontrolled resource allocation vulnerability in unflatten() that allows attackers to

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-119051· High 8.2

Not known to be exploited · CVSS 8.2 High.

Data as of 29 Oct 2026, 16:52 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.2
CNA (VulnCheck)CVSS 3.15.9
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
hughskflatAffected
  • <=6.0.1
Fixed in–
npmflatpkg:npm/flatOther threatsAffected
  • <=6.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid processing untrusted input with the unflatten() function or implement input validation to restrict numeric keys to safe ranges to prevent resource exhaustion.

Description

The flat library up to version 6.0.1 has an uncontrolled resource allocation vulnerability in its unflatten() function. This flaw allows attackers to create very large sparse arrays by using unbounded numeric keys, such as a key like a.4294967294. When these arrays are processed with methods like forEach, spread, or JSON.stringify, they can block the Node.js event loop, causing denial of service.

References

Community reviews

Loading reviews…