Skip to content
OpenAdvisories
High · 7.5 CVE-2026-128081 EUVD-2026-125688GHSA-gpwp-5797-mjff

AutoMapper: Denial of Service via uncontrolled recursion that bypasses MaxDepth

Published Nov 13, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
LuckyPennySoftware AutoMapper < 15.1.4 —
LuckyPennySoftware AutoMapper 16.0.0, < 16.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet AutoMapper >= 16.0.0, < 16.3.0 16.3.0 GHSA-gpwp-5797-mjff
NuGet AutoMapper < 15.1.4 15.1.4 GHSA-gpwp-5797-mjff

References