CVE-2026-62269

Source
https://cve.org/CVERecord?id=CVE-2026-62269
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62269.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62269
Aliases
Published
2026-11-24T11:40:27Z
Modified
2026-11-24T13:00:10Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
S3 object key query-string injection and truncation via unencoded reserved characters in ex_aws
Details

Improper Encoding or Escaping of Output vulnerability in ex_aws (S3 request URL construction).

This vulnerability is associated with program files lib/ex_aws/request/url.ex and program routines ExAws.Request.Url.build/2, ExAws.Request.Url.sanitize/2 and ExAws.Request.Url.get_path/2.

ex_aws does not percent-encode reserved characters in S3 object keys when it assembles the request URL. A literal ? in an object key survives unencoded: build/2 inserts the operation path verbatim and URI.to_string/1 emits it without encoding, and sanitize/2 then splits the flattened URL on the first ?, treating everything after it as the query string. Because the split runs before uri_encode is applied to the path, the ? is never neutralized, and the recovered query is re-inserted without any encoding.

An attacker who controls part of an object key (for example a download or upload keyed by a user-supplied filename) can therefore truncate the key past application-appended suffixes, causing the request to address a different object than the application intended, and can inject live S3 sub-resource operations (such as ?acl, ?tagging or ?versions) into the request. The manipulated URL is signed and transmitted normally, so the tampering is authorized like any legitimate request.

This issue affects ex_aws: from 2.1.2 before 2.8.0.

Database specific
{
    "cna_assigner":  "EEF",
    "cwe_ids":  [
        "CWE-116"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62269.json"
}
References

Affected packages

Git / github.com/ex-aws/ex_aws

Affected ranges

Type
GIT
Repo
https://github.com/ex-aws/ex_aws
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "ecd51b1965909119ee597d6c0783334e30e59e58"
                },
                {
                    "fixed":  "963fcc0948102608c6796959e7a0d84f37d84dce"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "2.1.2"
                },
                {
                    "fixed":  "2.8.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "ecd51b1965909119ee597d6c0783334e30e59e58"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "963fcc0948102608c6796959e7a0d84f37d84dce"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.1.2
v2.1.5
v2.1.7
v2.2.0
v2.2.1
v2.2.10
v2.2.2
v2.2.3
v2.2.4
v2.2.5
v2.2.6
v2.2.7
v2.2.8
v2.2.9
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.4.0
v2.4.1
v2.4.2
v2.4.3
v2.4.4
v2.5.0
v2.5.1
v2.5.10
v2.5.2
v2.5.3
v2.5.4
v2.5.5
v2.5.6
v2.5.7
v2.5.8
v2.5.9
v2.6.0
v2.6.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62269.json"