Read the docs

Uncontrolled recursion in AutoMapper causes denial of service

Priority LOW 34CWE-674Published · Updated

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

EPSS 0.00545 46th percentileScored 2026-11-16
Fix Fixed AutoMapper (LuckyPennySoftware): 16.3.0, 15.1.4AutoMapper (NuGet): 16.3.0, 15.1.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LuckyPennySoftwareAutoMapper16.0.0 to before 16.3.0; before 15.1.416.3.0, 15.1.4Patch availableCNA
—AutoMapper (NuGet)16.0.0 to before 16.3.016.3.0Patch availableGHSA-gpwp-5797-mjff
—AutoMapper (NuGet)before 15.1.415.1.4Patch availableGHSA-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

  1. 2026-11-13 Threatist record created from CVE-2026-128081
  2. 2026-11-13 Alias added: GHSA-gpwp-5797-mjff
  3. 2026-11-13 Fix available: NuGet/[email protected], NuGet/[email protected] · GHSA-gpwp-5797-mjff
  4. 2026-11-13 CVSS score added · GHSA-gpwp-5797-mjff
  5. 2026-11-13 Weakness changed · GHSA-gpwp-5797-mjff
  6. 2026-11-13 5 new references · GHSA-gpwp-5797-mjff

References

  • 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