CVE-2026-62272
ex_aws_lambda relative path traversal via unencoded identifiers in ExAws.Lambda request paths
Mitigation
- Upgrade ex_aws_lambda to 2.2.0 or later.
- Upgrade ex_aws_lambda to 72a565cd6bd583f59cbb303c819b8b30e98c2e5c or later.
- Vendor workaround: Validate each caller-supplied identifier against AWS Lambda's permitted name and ARN character set before passing it to an ExAws.Lambda operation, or percent-encode each identifier segment (for example URI.encode(segment, &URI.char_unreserved?/1)) so that path metacharacters cannot alter the request path.
Who should check
- Anyone running ex-aws ex_aws_lambda >= 2.0.1, < 2.2.0
- Anyone running ex-aws ex_aws_lambda >= c961161df71bc778a26bbb14718b5b7153296575, < 72a565cd6bd583f59cbb303c819b8b30e98c2e5c
Vulnerability facts
- Affected
- ex-aws ex_aws_lambda >= 2.0.1, < 2.2.0; ex-aws ex_aws_lambda >= c961161df71bc778a26bbb14718b5b7153296575, < 72a565cd6bd583f59cbb303c819b8b30e98c2e5c
- Fixed in
- ex-aws ex_aws_lambda 2.2.0, ex-aws ex_aws_lambda 72a565cd6bd583f59cbb303c819b8b30e98c2e5c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.0 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: Low
- Availability impact on other systems: Low
- CWE
- CWE-23
- Modified
Description
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-62272. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-62272.md Affected: ex-aws ex_aws_lambda >= 2.0.1, < 2.2.0; ex-aws ex_aws_lambda >= c961161df71bc778a26bbb14718b5b7153296575, < 72a565cd6bd583f59cbb303c819b8b30e98c2e5c Fixed in: ex-aws ex_aws_lambda 2.2.0, ex-aws ex_aws_lambda 72a565cd6bd583f59cbb303c819b8b30e98c2e5c Steps: 1. Search this machine and project for ex-aws ex_aws_lambda: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-62272 being exploited?
There is no confirmed exploitation: CVE-2026-62272 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-62272?
Low: CVSS 2.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-62272?
ex-aws ex_aws_lambda >= 2.0.1, < 2.2.0; ex-aws ex_aws_lambda >= c961161df71bc778a26bbb14718b5b7153296575, < 72a565cd6bd583f59cbb303c819b8b30e98c2e5c.
Is there a fix for CVE-2026-62272?
Yes. Fixed in ex-aws ex_aws_lambda 2.2.0, ex-aws ex_aws_lambda 72a565cd6bd583f59cbb303c819b8b30e98c2e5c. Upgrade ex_aws_lambda to 2.2.0 or later. Upgrade ex_aws_lambda to 72a565cd6bd583f59cbb303c819b8b30e98c2e5c or later. Vendor workaround: Validate each caller-supplied identifier against AWS Lambda's permitted name and ARN character set before passing it to an ExAws.Lambda operation, or percent-encode each identifier segment (for example URI.encode(segment, &URI.char_unreserved?/1)) so that path metacharacters cannot alter the request path.
How do I check if I'm affected by CVE-2026-62272?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More ex-aws vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.9 | CVE-2026-65622 ex_aws_ses missing URI-encoding of list_name allows path injection into SES V2 request URLs | ex-aws | EPSS 10% | |
| LOW 2.1 | CVE-2026-62273 XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging | ex-aws | PoCEPSS 31% | |
| MEDIUM 6.9 | CVE-2026-63581 ex_aws_s3 XML injection in bucket-configuration builders | ex-aws | PoCEPSS 31% | |
| LOW 2.1 | CVE-2026-63584 Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key | ex-aws | EPSS 13% | |
| HIGH 7.0 | CVE-2026-63583 XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 | ex-aws | EPSS 9% |