Read the docs

Relative path traversal in ex_aws_lambda request paths

Priority LOW 10CWE-23Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

The ex_aws_lambda package from ex-aws is affected from 2.0.1 before 2.2.0. ExAws.Lambda interpolates caller-supplied identifiers such as function names, ARNs, UUIDs and statement IDs into request paths without percent-encoding them, so path traversal sequences like ../ are sent unchanged. An application that passes an untrusted identifier into these operations can have a request steered at a sibling Lambda resource in the same account (CWE-23). A local user with low privileges can cause a request to reach an unintended resource, affecting integrity and availability, and no confidentiality impact is reported.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00232 8th percentileScored 2026-11-30
Fix Fixed ex_aws_lambda (ex-aws): 2.2.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ex-awsex_aws_lambda2.0.1 to before 2.2.02.2.0Patch availableCNA
  • ex_aws_lambda Vendorex-aws Affected 2.0.1 to before 2.2.0 Fixed in 2.2.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ex-aws:ex_aws_lambda:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:ex-aws:ex_aws_lambda:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

Upgrade ex_aws_lambda to 2.2.0. The sources list no fixed version for other releases in this range.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA ex_aws_lambda (ex-aws) Fixed in 2.2.0

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-62272
  2. 2026-11-27 Alias added: GHSA-5x5f-x5jj-55jw

References

  • TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
  • TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
  • TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
  • TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
  • TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
  • TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
See all 16 →

Sources