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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T18:37:30.465Z
- Modified: 2026-11-13T22:17:22.843Z
- Also known as: GHSA-6vhm-j9h7-f9gh
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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 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.

(As written by CVE List.)

## Affected

- LuckyPennySoftware AutoMapper: >= 16.0.0, < 16.3.0; < 15.1.4
- AutoMapper (NuGet): from 16.0.0 before 16.3.0; before 15.1.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9gh> (exploit, web)
- <https://github.com/LuckyPennySoftware/AutoMapper/commit/4d51a4b8125b4d2302f2f1f455747c9648ad1acb> (web)
- <https://github.com/LuckyPennySoftware/AutoMapper/commit/639c2748cb9d3d07df8b86879ba7bcf211675c86> (web)
- <https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4> (web)
- <https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0> (web)
- <https://github.com/LuckyPennySoftware/AutoMapper> (package)

## Sources

- CVE List: [CVE-2026-128082](https://www.cve.org/CVERecord?id=CVE-2026-128082), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-6vhm-j9h7-f9gh](https://github.com/advisories/GHSA-6vhm-j9h7-f9gh), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-128082](https://nvd.nist.gov/vuln/detail/CVE-2026-128082), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-128082 · Whole record: https://cve.day/CVE-2026-128082.json · Rebuilt by cve.day 2026-11-25T22:59:50.772Z
