Skip to main content

AutoMapper CVE-2026-128082

| EUVDEUVD-2026-125689 HIGH
Uncontrolled Recursion (CWE-674)
2026-11-13 GitHub_M GHSA-6vhm-j9h7-f9gh
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit deeply nested input to exposed endpoint
  2. Exploit
    Mapped to constructor/positional-record destination
  3. Execution
    Recursion bypasses MaxDepth counting
  4. Impact
    Uncatchable StackOverflowException terminates process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires an application that (1) uses a vulnerable AutoMapper version (<15.1.4, or >=16.0.0 and <16.3.0), (2) maps attacker-influenced, deeply nested input, and (3) maps it to a destination type constructed through a constructor - positional records, other constructor-mapped types, or a ConstructUsing delegate that recurses through context.Mapper - where a member is self-referential. Critically, setting MaxDepth (explicitly or the default 64) does NOT prevent this, because depth is counted only after the destination is created; this bypasses the mitigation for CVE-2026-32933. Limiting factors: destinations with a parameterless constructor and settable properties can be protected via cfg.DisableConstructorMapping() (which forces property mapping where MaxDepth is enforced); property-mapped destinations are not affected; and the attacker must be able to control input nesting depth. Positional records have no workaround other than limiting input depth before mapping or upgrading to a fixed version.

Impact

This is a genuine but bounded availability risk - a denial-of-service, not a code-execution flaw. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is internally consistent with CWE-674 (uncontrolled recursion): no confidentiality or integrity impact, only a high availability hit, reachable over the network with low complexity and no privileges or user interaction. The GHSA advisory includes a complete, self-contained PoC that reliably reproduces an uncatchable StackOverflowException and terminates the process, so a public PoC reference exists (it is not labeled in the input as a confirmed working/weaponized exploit, and nothing independently verifies it beyond the advisory). No EPSS score was provided, so exploitation probability cannot be quantified from this data. The CVE is NOT in CISA KEV and there is no indication of active exploitation - treat it as exploitable-in-principle, not exploited-in-the-wild. The vuln.today decision label is 'this_week', which aligns with a high-but-not-emergency DoS. One important nuance the raw CVSS score hides: although the vector reads AV:N/PR:N, real-world reachability depends entirely on whether a given application maps attacker-influenced, deeply nested input through a constructor-built destination with a self-referential member - so the effective risk is application-specific rather than universal. This is a real priority for teams running vulnerable AutoMapper versions with such mappings, but a low practical concern for deployments that do not expose constructor/record mapping of untrusted nested data.

Exploit ScenarioDerived

An application uses AutoMapper to map externally supplied, deeply nested data (e.g. a JSON graph deserialized from an API request) to a destination type built through a constructor - such as a positional record or a ConstructUsing mapping that recurses via context.Mapper - where a member references the same type. An attacker submits a chain nested thousands of levels deep; because type depth is counted only after the destination is constructed, the configured MaxDepth (or the default 64) is never enforced, recursion runs unbounded, and an uncatchable StackOverflowException crashes the process. A working PoC demonstrating this crash is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Uncontrolled recursion in AutoMapper's constructor-based mapping lets deeply nested, attacker-influenced input overflow the .NET stack and terminate the hosting process with an uncatchable StackOverflowException. Applications using AutoMapper before 15.1.4, or from 16.0.0 through 16.3.0, are affected when they map to a destination built through constructor parameters - positional records, other constructor-mapped types, or a ConstructUsing delegate that recurses through context.Mapper - that has a self-referential member; the depth counter is incremented only after the destination is created, so both an explicit MaxDepth(n) and the built-in limit of 64 are bypassed, defeating the mitigation for CVE-2026-32933. A public PoC reference exists in the GitHub security advisory; it is not verified as working exploit code, and no active exploitation is confirmed. Fixed releases are 15.1.4 and 16.3.0.

RemediationAI

Upgrade AutoMapper to 15.1.4 or 16.3.0 - 15.1.4 for the 15.x line and 16.3.0 for the 16.x line; the fix (commits 4d51a4b8125b4d2302f2f1f455747c9648ad1acb and 639c2748cb9d3d07df8b86879ba7bcf211675c86) counts the recursion level before the destination is created so constructor mapping stops at the same depth as property mapping, and the same releases also close the related MaxDepth bypass paths in GHSA-gpwp-5797-mjff and restore the mitigation for CVE-2026-32933. Where upgrading is not immediately possible, the vendor's only documented workaround applies to destination types that have a parameterless constructor and settable properties: calling cfg.DisableConstructorMapping() makes AutoMapper map through properties, where MaxDepth is enforced - the trade-off is that construction logic, constructor validation and required-member enforcement defined in the destination constructor no longer run, so initialization must move to property setters or post-mapping code. Positional records have no workaround other than limiting input nesting depth before mapping (rejecting or truncating overly deep payloads at the API boundary) or upgrading. Note that relying on MaxDepth alone does not protect vulnerable versions when constructor mapping is in play.

Affected VersionsENISA

AutoMapper 16.0.0, < 16.3.0
AutoMapper < 15.1.4

Affected Packages

nuget automapper fix: 15.1.4, 16.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in nuget

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-674 (Uncontrolled Recursion) inside AutoMapper's mapping-plan construction in src/AutoMapper/Execution/TypeMapPlanBuilder.cs, specifically CreateDestinationFunc(). AutoMapper exposes MaxDepth (explicit, or a default of 64 applied to self-referential maps) as the guard against runaway recursion, and the fix commit shows that the type-depth counter was incremented only after the destination object was created. Because constructor parameters - including child objects of the same type - are mapped while the destination is being constructed, every level recursed before its parent was counted, so the depth check never tripped. The advisory demonstrates that with MaxDepth(10) a 100-level chain was mapped to all 100 levels, and on a 1 MB stack (the Windows default) the process crashed at roughly 1,000-2,000 levels. The same root cause affects destinations reached via positional records, via ConstructUsing delegates that recurse through context.Mapper, and (per the related GHSA-gpwp-5797-mjff) other MaxDepth-bypass paths such as polymorphic maps, runtime-typed members, dictionary and dynamic sources, and recursive type converters. The affected artifact is the NuGet package AutoMapper (CPE cpe:2.3:a:luckypennysoftware:automapper). The fix counts the level before destination creation so constructor mapping stops at the same depth as property mapping; a StackOverflowException cannot be caught by application code, so the failure mode is process termination rather than a recoverable error.

Know when Automapper gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remotely reachable deep input with no auth or interaction and low complexity causes an uncatchable crash; availability-only impact, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 20:49 EUVD
CVE Published
Nov 13, 2026 - 18:37 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-674, uncontrolled recursion, in the AutoMapper NuGet package.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-128082 is a high-severity vulnerability in AutoMapper that allows unauthenticated attackers to crash applications by sending deeply nested input, causing a stack overflow and process termination. This affects any service that maps such input to constructor-mapped types, such as positional records or types using ConstructUsing delegates, potentially causing service outages and disrupting business operations. Leadership should prioritize patching because the public proof-of-concept exists, even though no active exploitation has been confirmed.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
High
one of the most widely used .NET object-mapping NuGet libraries
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy