AutoMapper: Denial of Service via uncontrolled recursion that bypasses MaxDepth
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| nuget:AutoMapper | >= 16.0.0, < 16.3.0 | 16.3.0 |
| nuget:AutoMapper | < 15.1.4 | 15.1.4 |
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's MaxDepth, and the default limit for self-referential maps was only applied to the base map. A chain of derived objects was mapp…
Read on GitHub Advisory Database
On 11/14/2026, 03:47 AM, GitHub Advisory Database published "AutoMapper: Denial of Service via uncontrolled recursion that bypasses MaxDepth" (type: Advisory). Severity is "High" (high). Related technologies: .NET / C#. CVE: CVE-2026-128081.