CVE-2026-128081 AutoMapper: Denial of Service via uncontrolled recursion that bypasses MaxDepth
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-128081?
CVE-2026-128081 is a high-severity vulnerability in LuckyPennySoftware AutoMapper, published on 13 Nov 2026.
Official description
AutoMapper is a convention-based object-object mapper in .NET. Prior to 15.1.4 and from 16.0.0 until 16.3.0, AutoMapper can recurse without an effective MaxDepth limit when mapping polymorphic graphs through Include or IncludeBase, runtime-typed object or interface members, nested Dictionary<string, object> or ExpandoObject sources, or recursive ConvertUsing type converters. Deep attacker-influenced graphs on these paths can throw an uncatchable StackOverflowException and terminate the process. This issue is fixed in versions 15.1.4 and 16.3.0.
Weakness: CWE-674
Which versions are affected by CVE-2026-128081?
2 open source packages ship an affected version, including AutoMapper.
| Package | Affected | Fixed in |
|---|---|---|
AutoMapper NuGetpkg:nuget/AutoMapper | All versions | 15.1.4 |
AutoMapper NuGetpkg:nuget/AutoMapper | From 16.0.0 | 16.3.0 |
Status by vendor (1)
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | AutoMapper (15.1.4)pkg:nuget/AutoMapper |
How do I fix CVE-2026-128081?
Upgrade AutoMapper to a fixed version for your release line: 15.1.4 or 16.3.0.
Is CVE-2026-128081 being exploited?
There is no known exploitation of CVE-2026-128081 in the wild and no public exploit code.
Sources
Also known as GHSA-gpwp-5797-mjff.