Skip to main content

ExAws KMS CVE-2026-62271

| EUVDEUVD-2026-133888 LOW
Use of RSA Algorithm without OAEP (CWE-780)
2026-11-24 EEF GHSA-cgv4-6337-qcvw
2.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Intercept wrapped key material in transit
  2. Exploit
    Query a PKCS#1 v1.5 padding oracle
  3. Impact
    Recover wrapped secret key plaintext (no oracle exists in AWS KMS path, so chain is not realizable in practice)

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Applies only to callers that use ExAws.KMS.get_parameters_for_import/3 to import external key material (BYOK) AND do not explicitly pass a wrapping_algorithm, thereby accepting the insecure default 'RSAES_PKCS1_V1_5' instead of 'RSAES_OAEP_SHA_256' or 'RSAES_OAEP_SHA_1'. Even then, plaintext recovery via Bleichenbacher requires both interception of the wrapped ciphertext and access to a PKCS#1 v1.5 padding oracle - and the AWS KMS unwrap path, which performs the decryption, does not expose such an oracle. Limiting factors: scope is restricted to the key-import feature (not general KMS operations); callers who explicitly select an OAEP algorithm are unaffected; and no oracle exists to drive the attack, making this defense-in-depth only.

Impact

This is a low-priority, defense-in-depth cryptographic hygiene issue, not an actionable exploitable vulnerability. The CVSS 4.0 base score is 2.1 (vendor-assigned vector CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N), and the vuln.today Decision label is 'monitor' - all signals agree on low urgency. There is no CISA KEV listing, no EPSS probability supplied, and no public exploit identified at time of analysis. Critically, the description itself states practical exploitability is low: the only theoretical attack (Bleichenbacher adaptive chosen-ciphertext against PKCS#1 v1.5 padding) requires a padding oracle, and the RSA unwrap happens inside AWS KMS, which does not expose one. The AT:P (attack requirements present) and AC:H metrics reflect that a padding oracle - which does not exist in the AWS KMS path - would be prerequisite. Signals are consistent rather than conflicting; the weakness is a weak-by-default library setting (CWE-780, RSA without OAEP) rather than a directly triggerable flaw. EPSS is absent, but given no PoC and no oracle, real-world exploitation risk is effectively negligible. Treat as a code-quality/compliance fix, not an emergency.

Exploit ScenarioDerived

An application using ex_aws_kms to import external key material (BYOK) calls ExAws.KMS.get_parameters_for_import/3 without overriding the wrapping algorithm, so its secret key material is RSA-wrapped with PKCS#1 v1.5 padding before being sent to AWS KMS ImportKeyMaterial. For any plaintext recovery, an attacker would need to both intercept the wrapped ciphertext and query a padding oracle that reveals valid-vs-invalid padding - but the AWS KMS unwrap endpoint does not expose such an oracle, so no practical attack is realized. No public exploit identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

ExAws KMS versions 2.1.0 before 2.7.0 default the wrapping algorithm used by ExAws.KMS.get_parameters_for_import/3 to RSAES_PKCS1_V1_5, steering callers who import external key material toward PKCS#1 v1.5 RSA padding instead of OAEP. The practical risk is low and defense-in-depth: AWS KMS performs the unwrap and does not expose the padding oracle a Bleichenbacher attack would need, and only BYOK import callers that fail to override the default are in scope. No public exploit was identified at time of analysis; the vendor has released a patch.

RemediationAI

Upgrade ex_aws_kms to 2.7.0 or later; the vendor advisory and upstream commits identify the fix (https://github.com/ex-aws/ex_aws_kms/security/advisories/GHSA-wq7g-9pm7-5crv, https://github.com/ex-aws/ex_aws_kms/commit/2d7f308da3cf75ab0385c0aebdc84ce65f6754f7). If an immediate upgrade is not possible, callers using ExAws.KMS.get_parameters_for_import/3 should explicitly pass wrapping_algorithm: RSAES_OAEP_SHA_256 (preferred) or RSAES_OAEP_SHA_1 instead of relying on the RSAES_PKCS1_V1_5 default. Because the weak default only affects the BYOK key-import flow, no broader KMS configuration change is required by this issue.

Affected VersionsENISA

ex_aws_kms b66631f206ec207ab7016c0c4d9f1ec898b56e85 <2d7f308da3cf75ab0385c0aebdc84ce65f6754f7
ex_aws_kms 2.1.0 <2.7.0

Affected Packages

euvd ex_aws_kms fix: 2.7.0

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 flaw is CWE-780 (use of RSA without OAEP) in the Elixir ex_aws_kms library's AWS KMS wrapper. ExAws.KMS.get_parameters_for_import/3 in lib/ex_aws/kms.ex builds the parameters for AWS KMS ImportKeyMaterial and defaults wrapping_algorithm to RSAES_PKCS1_V1_5; AWS KMS also supports the stronger RSAES_OAEP_SHA_1 and RSAES_OAEP_SHA_256 schemes. PKCS#1 v1.5 encryption padding is historically susceptible to Bleichenbacher adaptive chosen-ciphertext attacks when an attacker can query a padding-validity oracle, but here the unwrap is performed inside AWS KMS, which does not expose such an oracle, so exploitation is not demonstrated and the issue is a cryptographic-hygiene default rather than a directly exploitable path. The trigger is limited to callers that use the BYOK import flow and do not explicitly select an OAEP algorithm; general KMS operations are out of scope.

Know when Ex 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

Vendor (EEF) PRIMARY 2.1 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

AC:H because recovery needs an interception plus a padding oracle that AWS KMS does not provide; C:L reflects only theoretical key-material disclosure; no integrity or availability impact.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Use of RSA Algorithm without OAEP vulnerability in ex-aws ex_aws_kms (ExAws.KMS module) causes callers who import external key material to wrap their secret KMS key material with the deprecated PKCS#1 v1.5 padding scheme by default.

This vulnerability is associated with program file lib/ex_aws/kms.ex and program routine ExAws.KMS.get_parameters_for_import/3.

ExAws.KMS.get_parameters_for_import/3 defaults its wrapping_algorithm argument to "RSAES_PKCS1_V1_5". AWS KMS returns this value as the WrappingAlgorithm for the import operation, and it dictates the RSA padding scheme the caller uses to wrap (RSA-encrypt) their secret key material before calling ImportKeyMaterial. AWS KMS also supports the stronger RSAES_OAEP_SHA_1 and RSAES_OAEP_SHA_256 schemes. By defaulting to RSAES_PKCS1_V1_5, the library steers callers who do not explicitly override the argument toward the weakest of the three. PKCS#1 v1.5 encryption padding is susceptible to Bleichenbacher adaptive chosen-ciphertext (padding oracle) attacks, which can recover the wrapped plaintext without the private key given an oracle that reveals whether a decrypted value was validly padded. Because the unwrap happens inside AWS KMS, which does not expose a padding oracle, the practical exploitability is low and this is a defense-in-depth weakness. Callers can avoid the weak default by explicitly passing "RSAES_OAEP_SHA_256" (or "RSAES_OAEP_SHA_1") as the wrapping algorithm.

This issue affects ex_aws_kms: from 2.1.0 before 2.7.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
Low
niche Elixir AWS KMS client library, external-key-import (BYOK) flow only
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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Ex Aws

View all
CVE-2026-59697 HIGH
7.6 Nov 24

ExAws, the Elixir AWS SDK, requests its IMDSv2 session token from the link-local metadata endpoint with redirect followi

CVE-2026-59698 HIGH
7.4 Nov 24

Relative path traversal in the ex_aws Elixir S3 client (versions 2.1.7 up to, but not including, 2.8.0) allows an attack

CVE-2026-63583 HIGH
7.0 Nov 24

XML injection in the ex_aws_s3 Elixir library (2.3.0 through 2.5.x) lets an attacker who controls any value that an appl

CVE-2026-63581 MEDIUM
6.9 Nov 24

XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configurati

CVE-2026-131902 MEDIUM
5.9 Nov 24

Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injecte

CVE-2026-65622 MEDIUM
5.9 Nov 24

Path injection in the ex_aws_ses Elixir library (2.3.0 through 2.4.x) lets attacker-influenced contact-list names steer

CVE-2026-62270 MEDIUM
5.9 Nov 24

Type confusion in ex_aws_dynamo's ExAws.Dynamo.Encoder.encode/2 allows attacker-influenced map data to dictate the raw D

CVE-2026-120720 MEDIUM
5.9 Nov 24

Server-side request forgery in the ex_aws Elixir AWS client can redirect signed S3 requests to an attacker-chosen host w

CVE-2026-63582 MEDIUM
5.8 Nov 24

Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to a

CVE-2026-62269 MEDIUM
5.1 Nov 24

S3 request tampering in the Elixir ex_aws library (2.1.2 up to but not including 2.8.0) allows attackers who control par

CVE-2026-63585 MEDIUM
4.8 Nov 24

ACL grantee injection in the Elixir library ex_aws_s3 (2.0.0 up to but not including 2.6.0) allows an attacker who contr

CVE-2026-62273 LOW
2.1 Nov 24

XML injection in the Elixir library ex_aws_s3 (versions 2.0.2 up to but not including 2.6.0) allows forged S3 tag entrie

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