Skip to main content

Automapper CVE-2026-32933

| EUVDEUVD-2026-13505 HIGH
Uncontrolled Recursion (CWE-674)
2026-03-20 security-advisories@github.com GHSA-rvv3-g6hj-g44x
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Craft deeply nested object graph
  2. Delivery
    Submit to AutoMapper for conversion
  3. Exploit
    Trigger recursive calls without depth limit
  4. Execution
    Exhaust thread stack memory
  5. Impact
    Cause StackOverflowException and process crash

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Remote unauthenticated attacker sends specially crafted deeply nested object graph to AutoMapper versions <15.1.1 and <16.1.1 in .NET applications. Requires application to accept and map untrusted nested objects without depth limits configured.

Impact

The CVSS 7.5 score reflects a high-severity availability threat with network attack vector (AV:N), low complexity (AC:L), and no required privileges (PR:N) or user interaction (UI:N), making it trivially exploitable. Any application exposing AutoMapper to untrusted input—such as REST APIs accepting JSON payloads mapped to domain objects—can be crashed remotely. The attack is highly automatable and requires minimal sophistication, as deeply nested JSON structures are straightforward to craft. While no EPSS score or KEV listing is provided in the available data, the combination of network accessibility, zero authentication requirements, and process-terminating impact makes this a genuine priority for organizations using affected versions in production, particularly in public-facing services. The technical impact is limited to availability (no confidentiality or integrity compromise), but application crashes can cascade to service disruption, lost transactions, and potential secondary impacts if error handling is insufficient.

Exploit ScenarioDerived

An attacker identifies a public REST API endpoint that accepts JSON payloads and uses AutoMapper to convert request DTOs to domain models. The attacker crafts a malicious JSON payload with hundreds of nested objects (e.g., a recursive structure where each object contains a property pointing to another identical object structure). Upon submission, the API receives the payload, and AutoMapper begins recursive mapping, consuming stack frames until a StackOverflowException occurs, immediately terminating the application process and causing a complete service outage until manual restart.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 20, 2026

AutoMapper, a widely-used convention-based object-object mapper for .NET applications, contains a stack exhaustion vulnerability that allows remote attackers to crash applications via deeply nested object graphs. Versions prior to 15.1.1 and 16.1.1 are affected. An unauthenticated attacker can trigger a StackOverflowException by sending specially crafted nested objects, causing immediate application termination with high availability impact (CVSS 7.5).

RemediationAI

Immediately upgrade AutoMapper to version 15.1.1 or later for the 15.x branch, or version 16.1.1 or later for the 16.x branch. Both patched versions are available through the official NuGet package repository and GitHub releases at https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.1 and https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.1.1. The fix commit at https://github.com/LuckyPennySoftware/AutoMapper/commit/0afaf1e91648fca1a57512e94dd00a76ee016816 implements default maximum depth limits for recursive mapping operations. As a temporary workaround until patching, implement input validation to reject objects exceeding reasonable nesting depths (e.g., 10-20 levels), use .NET's MaxDepth JSON serialization settings to prevent deeply nested payloads from reaching AutoMapper, or isolate mapping operations in separate AppDomains or processes with monitoring to prevent full application crashes.

Affected VersionsENISA

AutoMapper 16.0.0, < 16.1.1
AutoMapper < 15.1.1

Affected Packages

nuget automapper fix: 15.1.1, 16.1.1

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

AutoMapper is a .NET library that automates the mapping between different object models using convention-based configuration, commonly used in enterprise applications forDTO transformations and layered architectures. The vulnerability stems from CWE-674 (Uncontrolled Recursion), where the library's recursive mapping algorithm for nested object graphs lacks default depth limits. When processing deeply nested structures, each mapping operation adds a new frame to the call stack until stack memory is exhausted, resulting in an unrecoverable StackOverflowException that terminates the entire .NET process. This affects both major version branches: the 15.x line (all versions before 15.1.1) and the 16.x line (versions 16.0.0 through 16.1.0).

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

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 20, 2026 - 03:16 nvd
HIGH 7.5

DescriptionGitHub Advisory

AutoMapper is a convention-based object-object mapper in .NET. Versions prior to 15.1.1 and 16.1.1 are vulnerable to a Denial of Service (DoS) attack. When mapping deeply nested object graphs, the library uses recursive method calls without enforcing a default maximum depth limit. This allows an attacker to provide a specially crafted object graph that exhausts the thread's stack memory, triggering a StackOverflowException and causing the entire application process to terminate. Versions 15.1.1 and 16.1.1 fix the issue.

Executive ViewAI

Why It Matters

AutoMapper versions before 15.1.1 and 16.1.1 contain a vulnerability that allows attackers to crash .NET applications through specially crafted nested objects, resulting in service unavailability. Any organization running affected versions faces immediate risk of denial-of-service attacks that could disrupt critical business operations without authentication required.

Business Impact: High
Compensating Controls

Until patches are available: Deploy WAF rules to detect and block requests with deeply nested JSON/object structures; implement aggressive rate limiting on API endpoints using AutoMapper; disable public-facing APIs that accept user-controlled nested objects where possible; place affected applications behind API gateways with payload size and nesting depth restrictions; monitor application logs for StackOverflowException events; prepare rollback procedures for rapid mitigation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.0%
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
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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