Uncontrolled recursion in AutoMapper causes denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-674.
Summary
AutoMapper for .NET from 16.0.0 before 16.3.0 and before 15.1.4 can recurse without an effective MaxDepth limit when mapping polymorphic graphs, runtime-typed members, nested dictionaries or recursive type converters (CWE-674). An unauthenticated remote attacker can send a deeply nested object graph that triggers an uncatchable StackOverflowException and terminates the process.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LuckyPennySoftware | AutoMapper | 16.0.0 to before 16.3.0; before 15.1.4 | 16.3.0, 15.1.4 | Patch available | CNA |
| — | AutoMapper (NuGet) | 16.0.0 to before 16.3.0 | 16.3.0 | Patch available | GHSA-gpwp-5797-mjff |
| — | AutoMapper (NuGet) | before 15.1.4 | 15.1.4 | Patch available | GHSA-gpwp-5797-mjff |
- AutoMapper VendorLuckyPennySoftware Affected 16.0.0 to before 16.3.0; before 15.1.4 Fixed in 16.3.0, 15.1.4 Patch available CNA
- AutoMapper (NuGet) Vendor— Affected 16.0.0 to before 16.3.0 Fixed in 16.3.0 Patch available GHSA-gpwp-5797-mjff
- AutoMapper (NuGet) Vendor— Affected before 15.1.4 Fixed in 15.1.4 Patch available GHSA-gpwp-5797-mjff
Remediation
Upgrade the AutoMapper NuGet package to 15.1.4 on the 15.x line or to 16.3.0 on the 16.x line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA AutoMapper (LuckyPennySoftware) Fixed in 16.3.0, 15.1.4
- Fix · GHSA-gpwp-5797-mjff AutoMapper (NuGet) Fixed in 16.3.0 Advisory →
- Fix · GHSA-gpwp-5797-mjff AutoMapper (NuGet) Fixed in 15.1.4 Advisory →
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128081
- 2026-11-13 Alias added: GHSA-gpwp-5797-mjff
- 2026-11-13 Fix available: NuGet/[email protected], NuGet/[email protected] · GHSA-gpwp-5797-mjff
- 2026-11-13 CVSS score added · GHSA-gpwp-5797-mjff
- 2026-11-13 Weakness changed · GHSA-gpwp-5797-mjff
- 2026-11-13 5 new references · GHSA-gpwp-5797-mjff
References
Other 6
- https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-gpwp-5797-mjff
- https://github.com/LuckyPennySoftware/AutoMapper/commit/aee81b50574c3c7005283cca2b2396e295bd8ed9
- https://github.com/LuckyPennySoftware/AutoMapper/commit/bdbbf5967d20d28e611ab65de1d96d1047a95ab9
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0
- https://github.com/LuckyPennySoftware/AutoMapper
More LuckyPennySoftware vulnerabilities
- TI-2026-91742 Uncontrolled recursion in AutoMapper bypasses MaxDepth limits CVSS 3.1HIGH 7.5
- TI-2026-25381 AutoMapper Vulnerable to Denial of Service (DoS) via Uncontrolled Recursion CVSS 3.1HIGH 7.5
Sources
- CVE-2026-128081 · CVE Program
- CVE-2026-128081 · NVD
- FIRST EPSS
- GHSA-gpwp-5797-mjff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences