Skip to main content

ex_aws_lambda CVE-2026-62272

| EUVDEUVD-2026-136350 LOW
Relative Path Traversal (CWE-23)
2026-11-26 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
2.0
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted function identifier to app
  2. Delivery
    App interpolates id into Lambda path
  3. Exploit
    '../' segment normalized by HTTP client/AWS
  4. Execution
    Signed request hits sibling Lambda resource
  5. Impact
    Unintended delete/invoke/reconfigure in same account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires a consuming Elixir application to pass an attacker-controlled or user-influenced identifier (function name, ARN, UUID, or statement ID) into one of the affected ExAws.Lambda operations (add_permission/5, delete_function/1, delete_event_source_mapping/1, get_function/1, get_function_configuration/1, get_policy/1, invoke/4, invoke_async/2, remove_permission/2, update_event_source_mapping/2, update_function_code/2, update_function_configuration/2) without percent-encoding or validation. The attacker must inject path metacharacters ('/', '..') and must know or guess the name of a sibling Lambda resource in the same AWS account to redirect the request usefully. Strong limiting factors: applications that pass only hardcoded or strictly validated identifiers are not affected; the application must already hold valid AWS credentials for the request to be signed and succeed; and impact is confined to resources within that same AWS account - there is no cross-account or arbitrary-endpoint reach.

Impact

All signals point to low real-world priority. The vendor/CNA CVSS 4.0 base score is 2.0 (Low) and the vuln.today decision label is 'monitor', the lowest urgency tier. There is no CISA KEV listing, no EPSS score was supplied, and no confirmed public exploit code exists - only the vendor advisory (GHSA-rxg9-76jv-f68p) and the two fix commits are public, which demonstrate the mechanism via unit tests but are not a working attack tool. The most important mitigating factor is conditional: this is a library-level flaw that only matters when an application feeds an untrusted or user-influenced identifier (function name, ARN, UUID, statement ID) into an ExAws.Lambda operation; applications that pass only hardcoded or strictly validated identifiers are explicitly not affected. One signal worth flagging as potentially conservative: the supplied CVSS 4.0 vector uses AV:L (local), yet the described abuse - an attacker supplying a crafted identifier that an application interpolates into a Lambda control-plane path - would frequently originate from network-sourced input, so AV:N is defensible depending on how the untrusted identifier reaches the vulnerable call; verify against the specific application's data flow. Impact is bounded to Lambda resources within the same AWS account (the signed credentials and HTTP method are unchanged), which is why integrity/availability impact is rated Low rather than High.

Exploit ScenarioDerived

A multi-tenant Elixir/Phoenix application lets a user influence a Lambda function identifier (e.g. a tenant-scoped function name) and passes it unsanitized to ExAws.Lambda.delete_function/1 or invoke/4. The attacker submits an identifier such as 'tenant-a-fn/../victim-fn'; once the '..' segment is normalized by the HTTP client or the AWS endpoint, the account-signed request is steered at a sibling function and succeeds against the wrong resource. No confirmed weaponized exploit is public, but the fix commit includes tests that demonstrate the traversal payload.

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

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

Alert me

AnalysisAIv1 – Nov 26, 2026

Relative path traversal in the ex_aws_lambda Elixir library (versions 2.0.1 up to but not including 2.2.0) lets an attacker who influences an identifier passed to an ExAws.Lambda function redirect a signed AWS Lambda control-plane request at a different resource in the same account. Function names, ARNs, UUIDs and statement IDs are interpolated into request paths without percent-encoding, so a '../' segment climbs out of the intended /2015-03-31/functions/<name> slot and the request is carried out against a sibling function with the application's existing credentials and unchanged HTTP method. Real-world risk is low and the priority label is monitor: only applications that pass attacker-controlled or user-influenced identifiers are exposed, the request must already be signable with valid AWS credentials, the attacker must know or guess a sibling resource name, and impact stays inside that one AWS account; no public exploit code was identified at time of analysis.

RemediationAI

Upgrade ex_aws_lambda to 2.2.0 or later, which is the vendor-released fix; the changes are visible in commits 72a565cd6bd583f59cbb303c819b8b30e98c2e5c and c961161df71bc778a26bbb14718b5b7153296575 and documented in GHSA-rxg9-76jv-f68p (https://github.com/ex-aws/ex_aws_lambda/security/advisories/GHSA-rxg9-76jv-f68p) and the CNA entry at https://cna.erlef.org/cves/CVE-2026-62272.html. If upgrading cannot be done immediately, the effective compensating control is at the call site: stop passing untrusted or user-influenced values as function names, ARNs, UUIDs or statement IDs, and either map user input to a fixed allowlist of known resource identifiers or percent-encode the identifier yourself (encoding everything outside the RFC 3986 unreserved set, including '/' and the dot segments '.' and '..') before it reaches ExAws.Lambda. The trade-off of local encoding is that it must reproduce AWS SDK semantics exactly - plain names are unaffected, but mis-encoding an ARN or qualifier changes which resource is addressed and can break legitimate calls - so the vendor library upgrade remains the complete fix. Note also that the encode_segment fallback is used when the installed ex_aws release lacks ExAws.Request.Url.encode_path_segment/1, so keeping ex_aws reasonably current alongside the plugin upgrade avoids that older code path.

Affected VersionsENISA

ex_aws_lambda c961161df71bc778a26bbb14718b5b7153296575 <72a565cd6bd583f59cbb303c819b8b30e98c2e5c
ex_aws_lambda 2.0.1 <2.2.0

Affected Packages

euvd ex_aws_lambda fix: 2.2.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 a CWE-23 relative path traversal rooted in how the ExAws.Lambda module in lib/ex_aws/lambda.ex assembles REST URLs. Every operation builds its path with plain Elixir string interpolation (for example "/2015-03-31/functions/#{function_name}"), and the shared request helper in the ex_aws stack only percent-encodes query parameters, never path segments, so characters such as '/', '?', '#' and the dot segments '.' and '..' reach the wire unchanged. Because AWS Lambda decodes a path label before resolving the resource, and because SigV4 signs the canonical request with the same unencoded path, a traversal sequence is normalized by the HTTP client or the AWS endpoint into a different Lambda resource while the signature and HTTP method remain valid - the request simply succeeds against the wrong target. The upstream fix introduces an encode_segment/1 helper that percent-encodes everything outside the RFC 3986 unreserved set (including '/', '?', '#', ':' and literal '.'/'..' as %2E/%2E%2E), delegating to ExAws.Request.Url.encode_path_segment/1 when the installed ex_aws release provides it, and additionally moves the invoke Qualifier from a hand-built query string into a properly encoded query parameter list. Affected routines named in the advisory are add_permission/5, delete_event_source_mapping/1, delete_function/1, get_event_source_mapping/1, get_function/1, get_function_configuration/1, get_policy/1, invoke/4, invoke_async/2, remove_permission/2, update_event_source_mapping/2, update_function_code/2 and update_function_configuration/2; the trigger therefore requires the consuming application to hand one of these functions an unvalidated identifier, and the advisory notes that applications passing only hardcoded or strictly validated identifiers are not affected.

Know when the next one hits your stack

  • 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 (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 2.0 LOW
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L
vuln.today AI 4.9 MEDIUM

Untrusted identifier typically arrives over the network (AV:N) through a non-default unvalidated-input path requiring knowledge of sibling names (AC:H); the app's own AWS credentials execute it (PR:L) and the redirected request affects a separate AWS-side resource (S:C), with limited integrity/availability impact.

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

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

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

Lifecycle Timeline

1
Patch available
Nov 26, 2026 - 14:17 EUVD

DescriptionCVE.org

Relative Path Traversal vulnerability in ex-aws ex_aws_lambda (ExAws.Lambda module) allows an attacker to redirect an AWS Lambda control-plane request at an unintended resource by injecting path traversal sequences into a caller-supplied identifier.

This vulnerability is associated with program file lib/ex_aws/lambda.ex and program routines ExAws.Lambda.add_permission/5, ExAws.Lambda.delete_event_source_mapping/1, ExAws.Lambda.delete_function/1, ExAws.Lambda.get_event_source_mapping/1, ExAws.Lambda.get_function/1, ExAws.Lambda.get_function_configuration/1, ExAws.Lambda.get_policy/1, ExAws.Lambda.invoke/4, ExAws.Lambda.invoke_async/2, ExAws.Lambda.remove_permission/2, ExAws.Lambda.update_event_source_mapping/2, ExAws.Lambda.update_function_code/2, ExAws.Lambda.update_function_configuration/2.

ExAws.Lambda builds every request path by interpolating caller-supplied identifiers (function names, ARNs, UUIDs, statement IDs) directly into the URL with plain string interpolation, without percent-encoding or validation. The shared request helper only encodes query parameters, never the path, so path metacharacters such as / and .. reach the wire unchanged. An application that passes an untrusted or user-influenced identifier into an ExAws.Lambda operation can therefore have its request steered at a different Lambda resource: a ../ segment climbs out of the intended /2015-03-31/functions/<name> slot and, once the .. is normalized by the HTTP client or the AWS endpoint, addresses a sibling function in the same account. The signed credentials and the HTTP method are unchanged, so the request still succeeds against the wrong resource. Affected operations include function deletion, invocation, configuration updates, and permission changes. Applications that only pass hardcoded or strictly validated identifiers are not affected.

This issue affects ex_aws_lambda: from 2.0.1 before 2.2.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche Elixir AWS client library, limited production deployment 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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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