Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-reachable smithy-rs endpoint
-
DeliveryCraft small deeply-nested recursive payload
-
ExploitSend JSON/CBOR/XML request
-
ExecutionGenerated deserializer recurses unbounded
-
PersistStack exhausted, process aborts
-
ImpactRepeat to sustain outage
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must be a client or server generated by smithy-rs (including the AWS SDK for Rust) whose Smithy model defines a recursive shape that is reachable from an incoming request body, and it must accept JSON, CBOR, or XML input over the network. The concrete trigger is a small request payload containing deeply nested data matching that recursive shape, processed by the auto-generated deserializer before any application logic runs. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication or user interaction is required for network-reachable endpoints. The principal limiting factor is model-dependence: services whose models contain no request-reachable recursive shape are not exploitable, so this is not universally applicable to every smithy-rs deployment. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) is internally consistent and credible: the attack is network-reachable, low-complexity, requires no authentication or user interaction, and its sole impact is high availability loss with no confidentiality or integrity effect - squarely a DoS. The 8.7 base score is driven entirely by the unauthenticated remote crash primitive. No EPSS score, KEV listing, or public POC was provided, so real-world exploitation pressure cannot be quantified from the input; the absence of KEV means there is no evidence of active exploitation, and the absence of POC data means exploit availability is simply unknown rather than confirmed absent. A key limiting factor tempers the raw score: exploitation is only possible against services whose Smithy model actually contains a recursive shape reachable in a request, so many deployments may not be affected in practice. This is a legitimate patch-worthy DoS for exposed smithy-rs servers, but not a code-execution or data-exposure event. |
| Exploit ScenarioDerived | An attacker identifies an internet-reachable service built with smithy-rs (for example a custom Smithy server or an application exposing an SDK-generated parser) whose model includes a recursive shape. They send a single small HTTP request whose JSON, CBOR, or XML body nests that shape hundreds or thousands of levels deep; the generated deserializer recurses until the stack is exhausted and the process aborts. Repeating the tiny request keeps the service crashed, yielding a low-cost, high-impact denial of service with no authentication required. No public POC was provided in the source data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 21, 2026
Denial of service in Amazon's smithy-rs code generation framework allows remote attackers to abort the process via stack exhaustion by sending a small request containing deeply nested data that matches a recursive model shape. The flaw affects generated deserializers for JSON, CBOR, and XML across the AWS SDK for Rust and any custom clients or servers built with smithy-rs codegen; because deserialization runs before business logic, a compact malicious payload can crash the target. This carries a CVSS 4.0 base score of 8.7 (availability-only impact), and no public exploit was identified at time of analysis.
Earlier versions of this analysis (1)
Denial of service in Amazon smithy-rs code generation (and the AWS SDK for Rust it powers) allows remote unauthenticated attackers to abort a process via stack exhaustion. The generated JSON, CBOR, and XML deserializer functions recurse without a depth limit, so a small request carrying deeply nested data for a recursive model shape overflows the native stack and crashes a generated SDK client or Smithy server. No public exploit has been identified at time of analysis, but the flaw is trivially reachable (network, no auth, no user interaction) against any service whose model contains a recursive shape.
RemediationAI
Vendor-released patch: upgrade the AWS SDK for Rust to release-2026-06-02 or later (https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2026-06-02). Developers who build custom clients or servers with smithy-rs must regenerate their code from smithy-rs release-2026-06-01 or later and redeploy the regenerated artifacts, since the fix lives in the emitted deserializer code rather than a runtime-only dependency. Consult the AWS bulletin (https://aws.amazon.com/security/security-bulletins/2026-061-aws/) and GHSA-4f2p-7j38-4xrg for details. Where immediate patching is not possible, compensating controls include placing a reverse proxy or API gateway in front of exposed smithy-rs servers to reject requests exceeding a maximum body size or JSON/XML/CBOR nesting depth (trade-off: proxies that do not parse CBOR/XML may not enforce depth for those encodings, and overly strict limits can break legitimate deeply-nested payloads), and restricting network exposure of affected endpoints to trusted callers to reduce the unauthenticated attack surface.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
smithy-rs is a Rust code-generation and runtime framework that produces HTTP clients and servers from Smithy interface definitions, and it underpins the AWS SDK for Rust (CPE cpe:2.3:a:aws:aws-sdk-rust). The vulnerability is a CWE-770 (Allocation of Resources Without Limits or Throttling) manifesting as uncontrolled recursion: the deserializer functions emitted by codegen for JSON, CBOR, and XML recursively descend into nested structures without a depth bound. When a Smithy model defines a recursive shape (a structure that can contain itself, directly or indirectly), the generated parser follows attacker-controlled nesting depth-first, consuming native stack frames per level until the thread's stack is exhausted, which in Rust triggers an unrecoverable process abort rather than a catchable error.
Know when AWS 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Unauthenticated, low-complexity network request crashes the process; impact is availability-only (A:H) with no confidentiality or integrity effect, matching the vendor's DoS-only classification.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
Smithy-RS is a Rust code generation and runtime framework that generates HTTP clients and servers from Smithy interface definitions, powering the AWS SDK for Rust and custom service implementations.
Uncontrolled recursion in the JSON, CBOR, and XML deserializer functions emitted by Amazon smithy-rs code generation could allow remote attackers to cause a denial of service (process abort via stack exhaustion) via a small request containing deeply nested data for a recursive model shape to a generated SDK or server.
To mitigate this issue, users should upgrade to aws-sdk-rust release-2026-06-02 or later. Users building custom servers with smithy-rs codegen should regenerate from smithy-rs release-2026-06-01 or later.
Executive ViewAI
Amazon's smithy-rs code generation framework contains a denial-of-service vulnerability allowing remote attackers to crash applications with a small malicious payload, impacting any organization using the AWS Rust SDK or smithy-rs-based services. Because the attack exploits deserialization before application-level defenses engage, standard mitigation strategies are ineffective. Immediate patching is required to prevent infrastructure-level service outages.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
EUVD-2026-46386
NVD
CVE.org
EPSS
GitHub
Exploit-DB