StraitOfVuln
Latest / CVE-2026-62270

CVE-2026-62270

MediumCVSS 5.9 (v4.0)Awaiting Analysis
CVE.org ↗NVD ↗

Description

Improper Validation of Specified Type of Input in ExAws.Dynamo.Encoder.encode/2 in ex_aws_dynamo allows an attacker who controls map data passed into a DynamoDB call to choose the raw stored DynamoDB AttributeValue. The encode/2 function in lib/ex_aws/dynamo/encoder.ex has one clause per DynamoDB type descriptor ("S", "N", "B", "BOOL", "M", "L", "NS", "SS", "BS", "NULL") that treats any map merely containing such a key as already encoded and returns it verbatim, bypassing the ExAws.Dynamo.Encodable protocol. The match is on the presence of the key alone, so no check is made that the value is well formed for the claimed type, and extra keys and arbitrary nested content survive untouched. An application that threads user-influenced map data (a decoded JSON body, a nested attribute, or an expression_attribute_values entry) into a Dynamo write or query therefore lets the user, rather than the application, decide the stored attribute's declared type, its bytes, and its structure. This type confusion breaks round-trip integrity and enables silent persistent data corruption, injection of attributes and raw binaries the schema never sanctioned, subversion of application authorization checks that trust the decoded type of a value, and a decoder crash on read-back that denies reads of the affected item to other users of the same table. This issue affects ex_aws_dynamo: from 2.0.0 before 4.3.0.

Details

CVE ID
CVE-2026-62270
Published / updated
24 Nov 2026, 13:17 UTC · last modified 01 Dec 2026, 20:19 UTC
Severity
MEDIUM
CVSS score
5.9 · v4.0 · CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: Local
Affected vendor
ex-aws
Affected products
ex_aws_dynamo
Affected versions
ex_aws_dynamo: 2.0.0 to before 4.3.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
ex_aws_dynamo 4.3.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.26% probability of exploitation in the next 30 days · 20% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db