Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain code execution on parent instance
-
DeliveryPass crafted oversized region to enclave SDK
-
ExploitTruncate KMS domain suffix in endpoint name
-
ExecutionEnclave misvalidates KMS TLS certificate
-
ImpactImpersonate KMS and inject forged responses
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Trusted input validation
|
| Exploitation Conditions | Exploitation requires an application running on the parent EC2 instance (local, AV:L) that passes an externally supplied, unvalidated AWS Region string to the aws-nitro-enclaves-sdk-c library at or before v0.4.5; the attacker must be able to supply a crafted long region value that truncates the KMS domain suffix used to build the KMS TLS server name. Only enclave applications that forward an unvalidated, externally-controlled region to the library are affected - applications that hardcode or validate the region are not. Limiting factors: the attacker needs a foothold/privilege on the parent instance (PR:L), there is no remote network vector, no cross-account or cross-tenant access is possible, and authentic KMS responses remain separately encrypted so confidentiality is not impacted. |
| Impact | This is a moderate, locally-scoped integrity vulnerability rather than a mass-exploitation emergency. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) confirms the attack is LOCAL, requires some privilege (PR:L), and needs no user interaction; the impact is limited to integrity (VI:H/SI:H) with no confidentiality (VC:N) or availability (VA:N) impact, consistent with the GHSA description that authentic KMS responses remain separately encrypted and not at risk. No EPSS score, no CISA KEV listing, and no public exploit reference are present in the input, so there is no signal of widespread or active exploitation; it was found via coordinated disclosure with Trail of Bits and reported by AMZN. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-not-critical, patch-promptly posture. The CWE-807 classification (reliance on untrusted inputs in a security decision) matches the mechanism: an attacker-influenced region string undermines the enclave's KMS endpoint trust decision. Net: a real priority for anyone running Nitro Enclave applications that pass externally supplied region values, but the local vector, privilege requirement, and absence of exploitation signals keep it below drop-everything urgency. |
| Exploit ScenarioDerived | An application running on the parent EC2 instance passes an attacker-influenced, crafted oversized AWS Region string into the enclave SDK; the library builds the KMS TLS server name from it without validation, truncating the KMS domain suffix. The Nitro Enclave then misjudges the authenticity of the KMS TLS certificate, letting a party positioned as the KMS endpoint impersonate KMS and inject forged responses into the enclave's KMS requests. No public exploit code is identified in the available data; the trigger details come from the vendor GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 30, 2026
Insecure handling of the caller-supplied AWS Region string in aws-nitro-enclaves-sdk-c at or before v0.4.5 lets a local application on the parent EC2 instance impersonate the AWS KMS endpoint that a Nitro Enclave connects to, enabling injection of forged KMS responses into the enclave's requests. AWS states that only enclave applications which forward an unvalidated, externally supplied region into the library are affected; there is no cross-account or cross-tenant exposure and authentic KMS responses remain separately encrypted, so confidentiality is not impacted. The vendor has released v0.4.6 with an input validation fix, but customers must also rebuild their custom enclave images; no public exploit code or confirmed active exploitation was identified at time of analysis, and the issue is rated this_week priority rather than an emergency.
Earlier versions of this analysis (1)
Incomplete region-string validation in AWS Nitro Enclaves SDK for C (aws-nitro-enclaves-sdk-c) through 0.4.5 allows an application running on the parent EC2 instance to impersonate the AWS KMS endpoint that a Nitro Enclave connects to, injecting forged responses into the enclave's KMS requests. Exploitation is local (not remotely reachable) and requires an enclave application that passes a parent-supplied, unvalidated AWS region string into the library and an attacker who can supply an abnormally long region value that truncates the KMS domain suffix, causing the enclave to trust the wrong TLS server name; enclaves that hardcode or sanitize the region are not exploitable. Integrity impact is rated high within the changed scope, while confidentiality is unaffected because authentic KMS responses remain separately encrypted, and no cross-account or cross-tenant access is possible; no public exploit code was identified at time of analysis and the issue is not in CISA KEV.
RemediationAI
Upgrade aws-nitro-enclaves-sdk-c to v0.4.6 and then rebuild every custom enclave image against that version, since the fix lives in the library code compiled into the enclave image rather than in the parent-side runtime; the v0.4.6 release tag (https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6) contains the region validation change, described in the release notes as "rest: Validate the region before building the endpoint host name" and tracked as GHSA-f6f6-6f88-r57j. AWS states explicitly in the advisory that there are no workarounds and that upgrading is required. As a scoping step before or alongside the rebuild, identify any enclave application that accepts a region value from outside the enclave and treats it as trustworthy; the advisory's impact statement ties exposure to that pattern, so reviewing those call sites tells you which images are actually at risk and lets you confirm the rebuild is complete. Advisory and bulletin URLs for change-tracking are https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-f6f6-6f88-r57j and https://aws.amazon.com/security/security-bulletins/2026-157-aws/.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The AWS Nitro Enclaves SDK for C is a library plus example tooling (kmstool) for applications running inside Nitro Enclaves that call AWS KMS to perform cryptographic attestation. To establish that channel it constructs the KMS TLS server name by appending a region string supplied by the caller to the KMS domain suffix. The advisory (GHSA-f6f6-6f88-r57j) states this region string was used without validation, so a crafted, overly long value can truncate the domain suffix. A Nitro Enclave then evaluates the authenticity of the presented KMS TLS certificate against the malformed name, which the AWS advisory describes as allowing impersonation of the KMS endpoint to the enclave. This maps to CWE-807 (Reliance on Untrusted Inputs in a Security Decision): a security-relevant decision - which host the enclave believes it is talking to - is derived from data controlled outside the trust boundary. The relevant trust boundary is the parent instance versus the enclave; an application on the parent can influence the region value, but only where the enclave application itself passes an externally supplied, unvalidated region to the library. Enclaves that hardcode or validate the region are not exposed, and authentic KMS responses are encrypted separately from this path. The fix in v0.4.6, per the release notes, validates the region before building the endpoint host name.
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:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
Local parent-instance attacker supplying a region needs privilege (PR:L) with low complexity; it crosses the parent/enclave trust boundary (S:C); impact is integrity-only (forged KMS responses), with confidentiality and availability unaffected.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
Incomplete string validation in AWS aws-nitro-enclaves-sdk-c before 0.4.6 may allow a third party to impersonate the AWS KMS endpoint.
To remediate this issue, users should rebuild any custom enclave image against aws-nitro-enclaves-sdk-c 0.4.6.
Technical POC Analysis
CWE-807, reliance on untrusted inputs in a security decision.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity flaw in the AWS Nitro Enclaves SDK for C (v0.4.5 and earlier) allows a local process on a parent EC2 instance to impersonate the KMS endpoint used by an enclave, potentially injecting forged responses. Exposure is limited to enclave applications that pass unvalidated, externally supplied region strings into the library; there is no cross-account or cross-tenant risk and confidentiality is preserved by separate KMS response encryption. Leadership should care because remediation requires not only the vendor library upgrade but also rebuilding and redeploying every affected custom enclave image, making this a coordination and scheduling matter rather than a data-loss event.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
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
WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa
EUVD-2026-114187
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB