Skip to main content
CVE-2026-62270VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-62270· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 4.3.0 when convenient.

Data as of 24 Nov 2026, 16:24 UTC

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.05.9
Patch
Available – fixed in 4.3.0, 8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade ex_aws_dynamo to 4.3.0; ex_aws_dynamo to 8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413.

Affected software

ProductAffectedFixed in
ex-awsex_aws_dynamoAffected
  • >=2.0.0 <4.3.0
Fixed in
  • 4.3.0
ex_aws_dynamoex-aws/ex_aws_dynamoAffected
  • ≥ a760463986f056937e61f5cd1c14e068c259d336, < 8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413
Fixed in
  • 8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413
Hexex_aws_dynamopkg:hex/ex_aws_dynamoOther threatsAffected
  • >=2.0.0 <4.3.0
Fixed in
  • 4.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…