Skip to main content

ex_aws_dynamo EUVDEUVD-2026-133906

| CVE-2026-62270 MEDIUM
Improper Validation of Specified Type of Input (CWE-1287)
2026-11-24 EEF GHSA-7fgj-xwfv-2vg2
5.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Supply user-influenced map to app
  2. Delivery
    Embed DynamoDB type-descriptor key (e.g. "N"/"B")
  3. Exploit
    Encoder returns map verbatim, bypassing protocol
  4. Execution
    Attacker-typed attribute stored in table
  5. Impact
    Corrupt data or crash readers on read-back

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Specified type validation
Exploitation Conditions

The required precondition is specific: the application must thread attacker-influenced map data - a decoded JSON body, a nested attribute, or an expression_attribute_values entry - into an ex_aws_dynamo write or query (e.g. put_item/query) so it reaches ExAws.Dynamo.Encoder.encode/2 in lib/ex_aws/dynamo/encoder.ex. The attacker's map must contain one of the DynamoDB type-descriptor keys ("S", "N", "B", "BOOL", "M", "L", "NS", "SS", "BS", "NULL"); the encoder then treats it as pre-encoded and returns it untouched. Affected versions are ex_aws_dynamo 2.0.0 up to but not including 4.3.0. Limiting factors: this is not a direct network attack on the library (CVSS AV:L, AT:P) - applications that only encode internally-constructed, validated data are not exposed, and the flaw is fully remediated only by upgrading to 4.3.0 as the vendor directs.

Impact

The vendor-supplied CVSS is 4.0 (base 5.9, Medium) with vector AV:L/AC:L/AT:P/PR:N/UI:N and impact VC:L/VI:H/VA:L - an integrity-dominant flaw, not a classic remote code execution. AV:L plus AT:P (a specific attack requirement) signals that exploitation is not a direct, standalone network hit against the library: it depends on the surrounding application actually threading attacker-influenced map data into a Dynamo write or query, so the real-world attack surface is gated by application data flow rather than by the library's mere presence. No EPSS score is provided in the input, there is no CISA KEV listing, and no public exploit or PoC reference is present - only vendor patch/advisory commits - so the only exploitation signal is theoretical. The vuln.today Decision label is 'this_month', consistent with a moderate, patch-on-a-normal-cycle priority rather than act_now/emergency. Net: this is a legitimately-real integrity and data-corruption issue (VI:H) with a secondary read-time denial-of-service, but it is a dependency-level correctness flaw whose severity for any given deployment hinges entirely on whether that application passes untrusted maps into ex_aws_dynamo - a high priority for apps that do, and low real risk for apps that only encode internally-constructed data. Note the input provides a CVSS 4.0 vector only (no 3.1) and no EPSS, so probabilistic exploitation ranking cannot be cross-checked.

Exploit ScenarioDerived

An Elixir application decodes a user-supplied JSON body (or a nested attribute, or an expression_attribute_values entry) into a map and threads it into an ex_aws_dynamo put_item or query. Because encode/2 returns any map that merely contains a DynamoDB type-descriptor key (e.g. %{"N" => ...}, %{"B" => ...}, %{"BOOL" => ...}) verbatim, the attacker - not the application - chooses the stored attribute's declared type, bytes and structure, enabling silent data corruption, injection of unsanctioned attributes, subversion of type-trusting authorization checks, or a decoder crash on read-back that denies that item to other users. No public exploit is identified at time of analysis; exploitation requires the application to route attacker-controlled maps into a Dynamo call.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

Type confusion in ex_aws_dynamo's ExAws.Dynamo.Encoder.encode/2 allows attacker-influenced map data to dictate the raw DynamoDB AttributeValue type, bytes, and structure in applications that pass such maps into DynamoDB writes or queries. Versions 2.0.0 through releases before 4.3.0 are affected, with primary impact on stored-data integrity, schema and authorization checks, and read-back availability for the affected item. The vendor has released a patch, and no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade ex_aws_dynamo to 4.3.0 or later; the advisory is at https://github.com/ex-aws/ex_aws_dynamo/security/advisories/GHSA-9776-rh77-6wp6 and the patch commit is https://github.com/ex-aws/ex_aws_dynamo/commit/8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413. The independent assessment states the flaw is fully remediated only by upgrading to 4.3.0, and applications whose encoder inputs are exclusively internally constructed and validated are not exposed; that data-flow boundary is not a substitute for the vendor patch. No complete workaround is identified in the supplied sources.

Affected VersionsENISA

ex_aws_dynamo a760463986f056937e61f5cd1c14e068c259d336 <8d1f1d8da8ea36ca7119bbcc7e210762fe4a1413
ex_aws_dynamo 2.0.0 <4.3.0

Affected Packages

euvd ex_aws_dynamo fix: 4.3.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

ex_aws_dynamo is an Elixir client for AWS DynamoDB. Its encoder normally converts application data through the ExAws.Dynamo.Encodable protocol, but encode/2 in lib/ex_aws/dynamo/encoder.ex contains clauses for the DynamoDB type descriptors "S", "N", "B", "BOOL", "M", "L", "NS", "SS", "BS", and "NULL" that return any map containing the descriptor key verbatim. Because only key presence is checked, the value is not validated for the claimed type, extra keys survive, and nested content is not re-encoded. This is CWE-1287 improper validation of specified type of input: a map entering a put_item, query, or similar operation can become a raw DynamoDB AttributeValue under attacker control. The CPE entries cpe:2.3:a:ex-aws:ex_aws_dynamo:*:*:*:*:*:*:*:* are wildcard-version entries, while the advisory range pins affected releases to 2.0.0 before 4.3.0.

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 5.9 MEDIUM
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
vuln.today AI 6.2 MEDIUM

AV:L/AC:H because exploitation depends on the application routing attacker-controlled maps into encode/2; PR:N as no DB/app privilege is needed; I:H for type confusion and data corruption, C:L and A:L for limited disclosure and read-back crash.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 89% exploitable
Prevalence
Low
Elixir-only DynamoDB client library; small Hex/BEAM ecosystem footprint
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Medium

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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-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-65621 LOW
2.1 Nov 24

HTTP header injection in ex_aws_s3 2.0.0 through 2.5.x lets an application that places attacker-influenced data into S3

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