
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-32933 is a Denial of Service (DoS) vulnerability in AutoMapper, a convention-based object-object mapper for .NET, caused by uncontrolled recursion when mapping deeply nested object graphs. The vulnerability affects all versions prior to 15.1.1 and versions 16.0.0 through 16.1.0 (prior to 16.1.1). It was disclosed by researcher @skdishansachin via responsible disclosure and published on March 13–20, 2026. The CVSS v3.1 base score is 7.5 (High) (GitHub Advisory, Feedly).
The root cause is CWE-674 (Uncontrolled Recursion): AutoMapper's core mapping engine recursively maps object properties without enforcing a default maximum recursion depth. When a source object contains a self-referential property (e.g., a Circular class with a Self property of the same type), the mapper descends into each level indefinitely. In standard .NET environments, approximately 25,000–30,000 levels of nesting are sufficient to exhaust the thread's stack memory, triggering a StackOverflowException. Because StackOverflowException cannot be caught in modern .NET runtimes, the entire application process terminates immediately with no possibility of recovery. A proof-of-concept is included in the official advisory, demonstrating the crash by constructing a 30,000-level nested object graph and calling mapper.Map() (GitHub Advisory, Patch Commit).
Successful exploitation results in complete process termination of the hosting application, causing a full Denial of Service. Unlike standard unhandled exceptions, a StackOverflowException cannot be caught or handled, meaning the entire application server process crashes — not just the individual request thread — affecting all concurrent users and requests. There is no confidentiality or integrity impact; the vulnerability is limited to availability. Any .NET application that accepts untrusted or attacker-controlled input and passes it through an AutoMapper mapping path involving self-referential types is at risk (GitHub Advisory).
mapper.Map().mapper.Map().StackOverflowException, which immediately terminates the entire application process.StackOverflowException in the .NET runtime; IIS/Kestrel/application host logs showing unexpected process termination without a graceful shutdown message.w3wp.exe, dotnet.exe) without a corresponding graceful shutdown event; process restart events in application monitoring tools shortly after receiving specific requests.Upgrade AutoMapper to version 15.1.1 (for the v15 branch) or 16.1.1 (for the v16 branch), which apply a default MaxDepth of 64 for self-referential type mappings — matching the defaults used by System.Text.Json and Newtonsoft.Json (v15.1.1 Release, v16.1.1 Release). If upgrading immediately is not possible, developers can manually configure MaxDepth in their mapping configuration: cfg.CreateMap<T, T>().MaxDepth(64);. Applications that legitimately require deeper mapping can increase the limit explicitly with .MaxDepth(n), or disable the depth limit entirely by calling .PreserveReferences() explicitly (Patch Commit). Additionally, input validation to reject excessively nested payloads at the API boundary is recommended as a defense-in-depth measure.
The vulnerability was responsibly disclosed by researcher @skdishansachin and acknowledged by AutoMapper maintainer @jbogard, who released patches for both supported branches within days of the advisory publication (v16.1.1 Release, v15.1.1 Release). The issue received coverage from security aggregators including CVEFeed, VulDB, and Mastodon security accounts, reflecting moderate community interest given AutoMapper's widespread use in the .NET ecosystem. No significant controversy or major media coverage was noted beyond standard vulnerability tracking and advisory dissemination.
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."