Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend deeply nested JSON payload
-
ExploitDeserialized to dictionary/dynamic/polymorphic graph
-
ExecutionAutoMapper recurses without MaxDepth enforcement
-
ImpactStackOverflowException terminates the process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires that the application use AutoMapper (vulnerable < 15.1.4 or >= 16.0.0 < 16.3.0) to map attacker-influenced, deeply nested data through one of the specific unguarded paths: (1) polymorphic derived-type maps via Include/IncludeBase that don't inherit the base map's MaxDepth; (2) members typed as object or an interface, which escape self-reference detection; (3) nested Dictionary<string, object> or ExpandoObject sources (e.g. deserialized JSON) mapped onto typed destinations; or (4) recursive type converters using ConvertUsing that call context.Mapper.Map. The attack is remote and unauthenticated per the CVSS vector (PR:N/UI:N), but is LIMITED by the need for the application to actually route untrusted nested input through one of these mapping configurations, and by sufficient nesting depth to exhaust the stack (a few thousand levels on a 1 MB Windows stack). For dictionary/dynamic sources and recursive converters there is no configuration workaround other than limiting input depth before mapping. |
| Impact | All signals point to a moderate, availability-only issue rather than a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) correctly reflects a pure denial-of-service: no confidentiality or integrity impact, only process termination via an uncatchable StackOverflowException (CWE-674, uncontrolled recursion). No EPSS score is provided and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation; exploitation status is 'no public exploit identified at time of analysis' (the repository contains a regression unit test demonstrating the condition, but the input does not flag a working PoC). The vuln.today Decision label is 'this_week', consistent with a patched, network-reachable DoS in a very widely used library but without confirmed in-the-wild abuse. The practical risk is real but conditional: it only matters where an application maps attacker-influenced, deeply nested data through one of the specific unguarded paths. This is therefore a genuine but scoped priority - patch within the vendor-indicated window - rather than a high-CVSS-but-illusory issue or a drop-everything event. Missing data to note explicitly: EPSS probability is absent, KEV status is negative, and POC status is not asserted in the input, so widespread exploitation cannot be inferred. |
| Exploit ScenarioDerived | A .NET web service deserializes attacker-supplied JSON into a Dictionary<string, object> or ExpandoObject (or an object/interface-typed member, or a polymorphic graph) and maps it onto typed destinations with AutoMapper. The attacker submits a request body nested a few thousand levels deep; on a default 1 MB Windows stack this exhausts the stack during the unbounded recursive mapping and throws an uncatchable StackOverflowException, crashing the worker process. No authentication or user interaction is required (PR:N/UI:N), and no public exploit is identified at time of analysis, though a simple deeply-nested payload is trivial to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Uncontrolled recursion in AutoMapper's mapping pipeline lets attacker-influenced, deeply nested input crash a .NET process: several mapping paths bypass the MaxDepth guard introduced for CVE-2026-32933 and recurse until a StackOverflowException terminates the application, which cannot be caught. Affected are NuGet package AutoMapper versions below 15.1.4 and 16.0.0 through 16.2.x, specifically where an application maps untrusted nested data through polymorphic derived-type maps (Include/IncludeBase), members typed as object or an interface, Dictionary<string, object> or ExpandoObject sources such as deserialized JSON, or ConvertUsing converters that call context.Mapper.Map; on a 1 MB Windows stack a few thousand nesting levels suffice. The vector is network-reachable and unauthenticated (AV:N/AC:L/PR:N/UI:N) with availability-only impact, no public exploit has been identified at time of analysis, and fixes ship in 15.1.4 and 16.3.0.
RemediationAI
Vendor-released patch: upgrade AutoMapper to 15.1.4 (for the 15.x and earlier line) or 16.3.0 (for the 16.x line), per the release notes at https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4 and https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0, with the underlying commit at https://github.com/LuckyPennySoftware/AutoMapper/commit/aee81b50574c3c7005283cca2b2396e295bd8ed9 and details in GHSA-gpwp-5797-mjff. After upgrading, the mapper inherits MaxDepth onto derived Include/IncludeBase maps and throws a catchable InsufficientExecutionStackException instead of letting a StackOverflowException kill the process, so callers should catch that exception and return a 4xx rather than rethrowing. If upgrading cannot be done immediately, the vendor's documented workarounds are: set MaxDepth explicitly on derived maps that are reached via Include or IncludeBase, and set MaxDepth explicitly on maps reached through object or interface-typed members, since those are not picked up by the default self-referential limit. There is no configuration workaround for dictionary and dynamic sources (Dictionary<string, object>, ExpandoObject) or for recursive ConvertUsing converters that call context.Mapper.Map; for those paths the only mitigation before patching is to bound input depth or reject over-nested payloads before the mapping call, for example by validating nesting depth in the JSON deserialization layer or capping request body size - note that this requires knowing the maximum legitimate depth for the payload, and any omitted validation path remains exposed. Applications using PreserveReferences() also rely on the new stack guard rather than MaxDepth and should prioritize upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AutoMapper is a convention-based object-to-object mapper for .NET that builds expression-tree execution plans per type map. CWE-674 (uncontrolled recursion) is the root cause here: the depth-limiting logic that the maintainers added for the earlier CVE-2026-32933 only attaches to type maps that the self-reference detection can see, so any path that recurses without a tracked type map recurses without a bound. Concretely, derived type maps created via Include/IncludeBase never inherited the base map's MaxDepth (and the implicit default limit for self-referential maps was applied only to the base), members declared as object or as an interface are invisible to the self-reference detector, dictionary and dynamic sources (Dictionary<string, object>, ExpandoObject - the typical shape of deserialized JSON) are mapped onto typed destinations with no depth tracking at all, and a ConvertUsing converter that calls context.Mapper.Map re-enters the mapper outside the depth accounting. On the .NET runtime a StackOverflowException cannot be caught and tears down the process, which is why the impact is purely availability. The upstream fix has two parts: TypeMap.ApplyInheritedTypeMap and the TypeMapPlanBuilder cycle check now copy MaxDepth onto derived maps when they have none of their own, and Mapper.MapWithOptions calls RuntimeHelpers.EnsureSufficientExecutionStack() so that a near-exhausted stack raises a catchable InsufficientExecutionStackException instead; the expression builder also adds an exception filter so the rethrow wrapper does not add another dispatch frame at every level, which would itself overflow. Note that maps configured with PreserveReferences() are documented as not depth-limited and rely on the new stack guard. A sibling issue, GHSA-6vhm-j9h7-f9gh (MaxDepth not enforced through constructor parameters and positional records), is fixed in the same releases.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated attacker sends deeply nested input (AV:N/AC:L/PR:N/UI:N); only availability is affected via process crash (C:N/I:N/A:H), scope unchanged.
Primary rating from Vendor (https://github.com/LuckyPennySoftware/AutoMapper).
CVSS VectorVendor: https://github.com/LuckyPennySoftware/AutoMapper
DescriptionCVE.org
Summary
The default and explicit MaxDepth limits added for CVE-2026-32933 don't apply to several mapping paths. Mapping a deeply nested source through any of them recurses without bound and throws a StackOverflowException, which can't be caught and terminates the process.
Affected paths
- Polymorphic maps: derived type maps (
Include/IncludeBase) didn't inherit the base map'sMaxDepth, and the default limit for self-referential maps was only applied to the base map. A chain of derived objects was mapped without a limit, even withMaxDepthset on the base map. - Runtime-typed members: members typed as
objector an interface aren't seen by self-reference detection, so the default limit isn't applied. - Dictionary and dynamic sources: mapping a nested
Dictionary<string, object>orExpandoObject(for example, deserialized JSON) onto typed destinations recurses with no depth tracking.MaxDepthhas no effect. - Recursive type converters:
ConvertUsingthat callscontext.Mapper.MapignoresMaxDepth.
Impact
An application that maps attacker-influenced, deeply nested data through one of these paths can be crashed. On a 1 MB stack (the Windows default), a few thousand levels of nesting are enough.
Fix
- Derived type maps inherit
MaxDepth, and the default limit is applied to them. - Every runtime map call checks for sufficient stack, and fails with a catchable
InsufficientExecutionStackExceptioninstead of overflowing.
Workarounds
Set MaxDepth explicitly on derived maps and on maps reached through object or interface members. There is no configuration workaround for dictionary or dynamic sources, or for recursive type converters, other than limiting input depth before mapping.
Related
- CVE-2026-32933 (GHSA-rvv3-g6hj-g44x)
- GHSA-6vhm-j9h7-f9gh:
MaxDepthnot enforced through constructor parameters and positional records, fixed in the same releases.
Technical POC Analysis
CWE-674 (Uncontrolled Recursion).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity flaw in AutoMapper, a widely used .NET mapping library, allows unauthenticated attackers to crash application processes via deeply nested input, impacting availability. This affects any team using vulnerable AutoMapper versions in internet-facing services, potentially causing service outages and disrupting business operations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-125688
GHSA-gpwp-5797-mjff
NVD
CVE.org
EPSS
Exploit-DB