CVE-2026-128082
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: Uncontrolled Recursion
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-13Published by the CNA18:37 UTC
- 2026-11-13GitHub advisory published (GHSA-6vhm-j9h7-f9gh)same day
- 2026-11-13CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-6vhm-j9h7-f9gh, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| NuGet AutoMapper | before 15.1.4 | 15.1.4 |
| NuGet AutoMapper | from 16.0.0 before 16.3.0 | 16.3.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| luckypennysoftware automapper |
References
- https://github.com/LuckyPennySoftware/AutoMapper/commit/4d51a4b8125b4d2302f2f1f455747c9648ad1acb
- https://github.com/LuckyPennySoftware/AutoMapper/commit/639c2748cb9d3d07df8b86879ba7bcf211675c86
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0
- https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9gh
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-128082'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-128082'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-128082'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-128082'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).