
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-128081 is a Denial of Service vulnerability in AutoMapper, a convention-based object-object mapper for .NET, caused by uncontrolled recursion that bypasses the library's MaxDepth limits. Affected versions include all releases prior to 15.1.4 and versions 16.0.0 through 16.3.0 (exclusive). The vulnerability was disclosed on November 13, 2026, with patches released on November 5, 2026 (v15.1.4 and v16.3.0). It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).
The root cause is CWE-674 (Uncontrolled Recursion): the MaxDepth limits introduced to address a prior CVE (CVE-2026-32933) were not applied to several critical mapping paths. Specifically, derived type maps using Include or IncludeBase did not inherit the base map's MaxDepth; members typed as object or an interface bypassed self-reference detection; nested Dictionary<string, object> or ExpandoObject sources (e.g., deserialized JSON) had no depth tracking; and recursive ConvertUsing type converters that call context.Mapper.Map ignored MaxDepth entirely. An attacker who can supply deeply nested input data to any of these mapping paths can trigger an uncatchable StackOverflowException — on a 1 MB stack (the Windows thread pool default), a few thousand levels of nesting suffice to terminate the process (GitHub Advisory, Patch Commit).
Successful exploitation results in a complete availability loss of the affected application: the uncatchable StackOverflowException terminates the entire .NET process, causing a denial of service. There is no confidentiality or integrity impact. Any application that maps attacker-influenced, deeply nested data (e.g., user-submitted JSON deserialized into Dictionary<string, object> or ExpandoObject) through the affected paths is at risk, and no user interaction or authentication is required to trigger the crash (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Feedly). However, the attack requires no authentication, no user interaction, and low complexity — any network-accessible endpoint that passes attacker-controlled nested data through AutoMapper's affected mapping paths is a viable target.
Dictionary<string, object> or ExpandoObject, or a polymorphic object graph)."Next" key pointing to another object: {"Next": {"Next": {"Next": ... }}} repeated several thousand times.Dictionary<string, object> source, ExpandoObject, object-typed member, or polymorphic Include/IncludeBase map), recursing without bound.StackOverflowException that terminates the .NET host process, resulting in a denial of service (GitHub Advisory, Patch Commit).StackOverflowException originating from the AutoMapper Mapper.MapCore method or related mapping stack frames; IIS/Kestrel logs showing abrupt worker process termination (e.g., Event ID 5002 or similar crash events).Content-Length values for endpoints that typically receive shallow data.AutoMapper.dll or Mapper.MapCore in the faulting stack trace.Upgrade AutoMapper to version 15.1.4 (for the 15.x branch) or 16.3.0 (for the 16.x branch), which fix this vulnerability by making derived type maps inherit MaxDepth, applying a default limit of 64 to self-referential derived maps, and adding a RuntimeHelpers.EnsureSufficientExecutionStack() guard in Mapper.MapCore that throws a catchable InsufficientExecutionStackException instead of crashing the process (v15.1.4 Release, v16.3.0 Release). As a partial workaround prior to patching, set MaxDepth explicitly on all derived maps and on maps reached through object or interface members. Note that there is no configuration workaround for dictionary/dynamic sources or recursive type converters — for those paths, input depth must be validated and limited before it reaches AutoMapper (GitHub Advisory).
The advisory was published by AutoMapper maintainer jbogard and credited @mcambria for the related constructor-mapping report. The release notes explicitly urge users to upgrade if their application maps untrusted, deeply nested data. No significant broader media coverage or notable external researcher commentary has been identified beyond the official advisory and standard vulnerability aggregator listings (v15.1.4 Release, v16.3.0 Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."