CVE-2026-62271
CVE-2026-62271 — ex_aws_kms defaults RSA key-material wrapping to PKCS#1 v1.5 in get_parameters_for_import/3
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.
Published Updated Sources: NVD, ex-aws (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
n/a
FIRST has not published a score
CVSS base
2.1
low
Remediation
The vendor's own words where we have them.
Upgrade Ex Aws Kms to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Ex-Aws | ex aws kms | 2.1.0 to < 2.7.0 | Vulnerable |
| Ex-Aws | ex aws kms | b66631f206ec207ab7016c0c4d9f1ec898b56e85 to < 2d7f308da3cf75ab0385c0aebdc84ce65f6754f7 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Attack Complexity
High
Attack Vector
Local
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 2.1 | CVSS 4.0 | low | n/a | n/a | ex-aws (CNA) |
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
Weakness & attack patterns
- CWE-780
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
2
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /ex_aws/kms.ex, /3.
- Monitor for scanner or exploit-pattern traffic after 2 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 2.1 (AV:L)
Nov 24, 2026 · NVD
Initial · CVE published
Nov 24, 2026 · NVD
Added · GHSA-cgv4-6337-qcvw published (low)
Nov 24, 2026 · GitHub Security Advisory
References
7 on the record
- cna.erlef.org/cves/CVE-2026-62271.html
Vendor Advisory
- github.com/ex-aws/ex_aws_kms/commit/2d7f308da3cf75ab0385c0aebdc84ce65f6754f7
Exploit, Third Party Advisory
- github.com/ex-aws/ex_aws_kms/commit/b66631f206ec207ab7016c0c4d9f1ec898b56e85
Exploit, Third Party Advisory
- github.com/ex-aws/ex_aws_kms/security/advisories/GHSA-wq7g-9pm7-5crv
Exploit, Third Party Advisory
- osv.dev/vulnerability/EEF-CVE-2026-62271
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-62271
NVD
- github.com/advisories/GHSA-cgv4-6337-qcvw
Exploit, Third Party Advisory
Elsewhere on this site
- Ex-Awsevery CVE for this vendor
- Unclassifiedsame class
- CWE-780other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-62271 is ex_aws_kms defaults RSA key-material wrapping to PKCS#1 v1.5 in get_parameters_for_import/3, a low vulnerability affecting Ex Aws Kms from Ex-aws. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-62271. Public exploit evidence is: 2 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 2.1 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.