1. Home
  2. Vulnerabilities
  3. CVE-2026-128082

CVE-2026-128082

AutoMapper: Uncontrolled Recursion with Constructor Parameters

Published 13 Nov 2026 · modified 13 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 51/100

Summary

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.

Affected products and versions

Luckypennysoftware (1 line(s))
Luckypennysoftware
ProductVersionsFixed inSource
Automapper Versions not specified — CNA (vendor or assigner)
NuGet (2 line(s))
NuGet
ProductVersionsFixed inSource
AutoMapper from 16.0.0 (included) to 16.3.0 (excluded) 16.3.0 GitHub Advisory
AutoMapper before 15.1.4 (excluded) 15.1.4 GitHub Advisory

Fix

Upgrade — NuGet/AutoMapper 16.3.0; NuGet/AutoMapper 15.1.4official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Weakness
CWE-674 · Autre (CWE-674)

How this data is obtained and calculated