Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32141: CWE-674: Uncontrolled Recursion in WebReflection flatted

0
High
VulnerabilityCVE-2026-32141cvecve-2026-32141cwe-674
Published: Thu Mar 12 2026 (03/12/2026, 18:08:09 UTC)
Source: CVE Database V5
Vendor/Project: WebReflection
Product: flatted

Description

CVE-2026-32141 is a high-severity vulnerability in the WebReflection flatted library versions prior to 3. 4. 0. The flaw arises from uncontrolled recursion in the parse() function's revive() phase, which resolves circular references in JSON data. Crafted payloads with deeply nested or self-referential indices can trigger unbounded recursion, causing a stack overflow and crashing the Node. js process. This vulnerability does not impact confidentiality or integrity but results in denial of service by crashing applications using the affected library. Exploitation requires no privileges or user interaction and can be performed remotely by supplying malicious JSON input. The issue is fixed in version 3. 4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 02:32:29 UTC

Technical Analysis

The vulnerability identified as CVE-2026-32141 affects the WebReflection flatted library, a tool used for parsing circular JSON structures in Node.js environments. Prior to version 3.4.0, the parse() function internally uses a recursive revive() method to reconstruct circular references during deserialization. This recursive approach lacks bounds checking on recursion depth when processing crafted JSON payloads containing deeply nested or self-referential $ indices. An attacker can exploit this by sending malicious JSON data that triggers unbounded recursion, leading to a stack overflow condition. This overflow causes the Node.js process to crash, resulting in a denial of service (DoS). The vulnerability is classified under CWE-674 (Uncontrolled Recursion) and has a CVSS v3.1 score of 7.5, indicating high severity. The attack vector is network-based with no required privileges or user interaction, making it relatively easy to exploit remotely. No known exploits are currently reported in the wild, but the impact on availability is significant for affected applications. The issue was addressed in flatted version 3.4.0 by implementing safeguards to limit recursion depth or refactoring the revive() logic to prevent stack overflow. Since flatted is widely used in Node.js applications for handling circular JSON, this vulnerability poses a risk to any service deserializing untrusted JSON input using vulnerable versions.

Potential Impact

The primary impact of CVE-2026-32141 is denial of service through application crashes caused by stack overflow in Node.js processes using vulnerable flatted versions. This can disrupt web services, APIs, and backend systems relying on flatted for JSON parsing, potentially leading to downtime and degraded user experience. Although the vulnerability does not compromise data confidentiality or integrity, repeated exploitation could be used to degrade service availability or as part of a larger attack chain. Organizations with high-availability requirements or those exposing JSON parsing endpoints to untrusted inputs are particularly at risk. The ease of exploitation without authentication or user interaction increases the threat level, especially for internet-facing applications. Additionally, automated attacks could target vulnerable systems to cause widespread outages or service interruptions. The lack of known exploits in the wild suggests limited current exploitation but does not preclude future attacks once the vulnerability becomes widely known.

Mitigation Recommendations

To mitigate CVE-2026-32141, organizations should immediately upgrade the flatted library to version 3.4.0 or later, where the recursion issue is fixed. Developers should audit their dependencies to identify and update any usage of vulnerable flatted versions. Implement input validation and JSON schema validation to restrict deeply nested or suspicious circular references in incoming JSON payloads. Employ runtime monitoring and alerting for unexpected Node.js process crashes or high recursion stack usage. Consider sandboxing or isolating JSON parsing operations to limit the blast radius of potential crashes. For critical systems, implement rate limiting and filtering on endpoints that accept JSON input to reduce exposure to crafted payloads. Additionally, maintain up-to-date dependency management practices and monitor vulnerability advisories for related issues. If upgrading is not immediately feasible, applying application-level checks to detect and reject overly complex or recursive JSON structures can provide temporary protection.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-10T22:19:36.546Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b302c82f860ef943d65df6

Added to database: 3/12/2026, 6:15:36 PM

Last enriched: 3/20/2026, 2:32:29 AM

Last updated: 4/28/2026, 5:16:16 AM

Views: 147

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses