# CVE-2026-119148: AWS Nitro Enclaves SDK for C use-after-free and KMS impersonation

Source: https://junglewise.ai/threats/cve-2026-119116-and-issues-in-aws-nitro-enclaves-sdk-for-c  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-119148 · Severity: high · CVSS 7.8 · Published 2026-10-30

AWS Nitro Enclaves SDK for C contains two critical vulnerabilities affecting applications running in AWS Nitro Enclaves, a trusted execution environment used to isolate sensitive workloads like cryptographic operations. CVE-2026-119116 allows a local attacker on the parent EC2 instance to crash the enclave or execute arbitrary code within it; CVE-2026-119148 allows an attacker to impersonate AWS Key Management Service and inject forged cryptographic keys. Exploitation could lead to complete compromise of secrets managed by affected enclaves.

Technologies: [Amazon AWS](https://junglewise.ai/threats/technologies/aws). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon).

## Quick answers

**Is CVE-2026-119148 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-119148 being exploited in the wild.

**How severe is CVE-2026-119148?** High severity, with a CVSS score of 7.8, published 30 October 2026.

**Which products and versions are affected?** Amazon Nitro Enclaves SDK for C <= v0.4.5.

**Is there a fix for CVE-2026-119148?** Yes: fixed in v0.4.6. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-119148 attacked?** It is attacked with local access or over the network, in a software library.

**Am I affected by CVE-2026-119148?** Check whether you run Amazon AWS or Amazon Nitro Enclaves SDK for C at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in v0.4.6

## Technical details

CVE-2026-119116 is a use-after-free vulnerability in the kmstool-enclave command handler that processes vsock messages from the parent EC2 instance; an attacker with local access can send crafted messages to corrupt enclave heap memory and execute code. CVE-2026-119148 stems from insufficient input validation where the KMS server hostname is constructed from an unauthenticated region parameter, enabling DNS/network-level impersonation without cryptographic validation. Both require the SDK versions ≤ 0.4.5, with CVE-2026-119116 affecting only applications using or derived from kmstool-enclave.

## Affected products

- Amazon Nitro Enclaves SDK for C <= v0.4.5

## Identifiers

- CVE-2026-119148
- CVE-2026-119116

## Timeline

- 2026-10-30: disclosed

## References

- [https://aws.amazon.com/security/security-bulletins/rss/2026-157-aws/](https://aws.amazon.com/security/security-bulletins/rss/2026-157-aws/)

## Related threats

- [An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0)](https://junglewise.ai/threats/cve-2026-126793-privilege-escalation-in-aurora-postgresql-dialect-detection-in)
- [AWS SDK for pandas EMR unverified bucket ownership](https://junglewise.ai/threats/cve-2026-127119-unverified-ownership-of-the-default-emr-cluster-log-location-in)
- [Amazon mcp-gateway-registry server-side request forgery in registration API](https://junglewise.ai/threats/cve-2026-125926-server-side-request-forgery-in-the-server-registration-and)
- [Amazon mcp-gateway-registry authorization bypass in management API](https://junglewise.ai/threats/cve-2026-100307-missing-authorization-on-the-external-management-api-in-mcp)
- [AWS Kiro CLI incorrect default permissions on session files](https://junglewise.ai/threats/cve-2026-124848-incorrect-default-permissions-on-session-transcripts-and-prompt)
