CVE-2026-62272
ex_aws_lambda relative path traversal via unencoded identifiers in ExAws.Lambda request paths
- CVSS
- 2
- EPSS
- 0.23% (p8)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-26
- Product
- ex-aws ex_aws_lambda
- Aliases
- EEF-CVE-2026-62272, GHSA-rxg9-76jv-f68p
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
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.
Fixed in
2.2.0 · 72a565cd6bd583f59cbb303c819b8b30e98c2e5c
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Hex | ex_aws_lambda | >=2.0.1, <2.2.0 | 2.2.0 |
| unknown | ex-aws/ex_aws_lambda | >=c961161df71bc778a26bbb14718b5b7153296575, <72a565cd6bd583f59cbb303c819b8b30e98c2e5c | 72a565cd6bd583f59cbb303c819b8b30e98c2e5c |
| unknown | ex_aws_lambda | >=2.0.1, <2.2.0 | 2.2.0 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/ex-aws/ex_aws_lambda/security/advisories/GHSA-rxg9-76jv-f68p vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-62272.html related
- https://osv.dev/vulnerability/EEF-CVE-2026-62272 related
- https://github.com/ex-aws/ex_aws_lambda/commit/c961161df71bc778a26bbb14718b5b7153296575 related
- https://github.com/ex-aws/ex_aws_lambda/commit/72a565cd6bd583f59cbb303c819b8b30e98c2e5c patch
- https://hex.pm/packages/ex_aws_lambda package
- https://github.com web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62272.json advisory
- https://github.com/ex-aws/ex_aws_lambda package
- https://nvd.nist.gov/vuln/detail/CVE-2026-62272 advisory
- https://repo.hex.pm web