CVE-2026-128082 AutoMapper: Uncontrolled Recursion with Constructor Parameters

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-128082?

CVE-2026-128082 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 increments type depth only after creating the destination, so recursive mapping performed through constructor parameters occurs before MaxDepth is counted. Destinations built through positional records or other constructors, and recursive ConstructUsing mappings that call context.Mapper, can therefore bypass explicit MaxDepth values and the default limit of 64. Deep attacker-influenced input 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-128082?

2 open source packages ship an affected version, including AutoMapper.

PackageAffectedFixed in
AutoMapper NuGet
pkg:nuget/AutoMapper
All versions15.1.4
AutoMapper NuGet
pkg:nuget/AutoMapper
From 16.0.016.3.0
Status by vendor (1)
WhoReleaseStatusPackages
UpstreamfixedAutoMapper (15.1.4)
pkg:nuget/AutoMapper

How do I fix CVE-2026-128082?

Upgrade AutoMapper to a fixed version for your release line: 15.1.4 or 16.3.0.

Is CVE-2026-128082 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-128082 exists.

Sources

Also known as GHSA-6vhm-j9h7-f9gh.

Is CVE-2026-128082 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free