CVE-2026-128082 json
AutoMapper: Uncontrolled Recursion with Constructor Parameters
published 8d ago modified 8h ago also EUVD-2026-125689 , GHSA-6vhm-j9h7-f9gh
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
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.
Patch / fix
- nuget AutoMapper 15.1.4, 16.3.0
Is CVE-2026-128082 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 9h ago
Exploits and checks
- github.com https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9gh referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | AutoMapper | >=16.0.0, <16.3.0 <15.1.4 |
16.3.0 15.1.4 |
Affected products
- LuckyPennySoftware AutoMapper
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/LuckyPennySoftware/AutoMapper/commit/4d51a4b8125b4d2302f2f1f455747c9648ad1acb
web
-
github.com
/LuckyPennySoftware/AutoMapper/commit/639c2748cb9d3d07df8b86879ba7bcf211675c86
web
-
github.com
/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9gh
exploit, web, advisory
-
github.com
/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4
web
-
github.com
/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0
web
-
github.com
/LuckyPennySoftware/AutoMapper
package
Sources
- CVE List CVE-2026-128082
- GitHub Advisory GHSA-6vhm-j9h7-f9gh
- NVD CVE-2026-128082
- Maintainer advisory GHSA-6vhm-j9h7-f9gh
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of LuckyPennySoftware/AutoMapper published their own advisory on GitHub. Reviewed sources take precedence over it.