- Home
- Vulnerabilities
- CVE-2026-128082
CVE-2026-128082
AutoMapper: Uncontrolled Recursion with Constructor Parameters
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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Automapper | Versions not specified | — | CNA (vendor or assigner) |
NuGet (2 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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
- — CVE published (cve)
CERT-FR advisories
- GHSA-6vhm-j9h7-f9gh — AutoMapper: Uncontrolled Recursion with Constructor Parameters 13 Nov 2026
References
- https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9ghexploit
- https://github.com/LuckyPennySoftware/AutoMapper/commit/4d51a4b8125b4d2302f2f1f455747c9648ad1acbx_refsource_MISC
- https://github.com/LuckyPennySoftware/AutoMapper/commit/639c2748cb9d3d07df8b86879ba7bcf211675c86x_refsource_MISC
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4x_refsource_MISC
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0x_refsource_MISC
- https://github.com/LuckyPennySoftware/AutoMapperPACKAGE
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)