CVE-2026-63582

Source
https://cve.org/CVERecord?id=CVE-2026-63582
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63582.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63582
Aliases
Published
2026-11-24T14:13:16Z
Modified
2026-11-24T16:00:12Z
Severity
  • 5.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
S3 bucket name controls the host of presigned URLs in ex_aws_s3
Details

Externally Controlled Reference to a Resource in Another Sphere vulnerability in ex-aws ex_aws_s3 allows an attacker who controls an S3 bucket name to make presigned URLs and presigned POST forms point at a host of their choice.

With virtual_host: true, s3_accelerate: true or bucket_as_host: true, ExAws.S3.presigned_url/5 and ExAws.S3.presigned_post/4 build the URL from the bucket name without checking it. A bucket such as attacker.example/x? turns the URL into https://attacker.example/x?.s3.amazonaws.com..., and the signature is computed for that host. Clients given the URL upload their files to, or download content from, the attacker's host, and every such URL discloses the access key id. With bucket_as_host: true any valid hostname works as the bucket name.

This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.

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

Affected packages

Git / github.com/ex-aws/ex_aws_s3

Affected ranges

Type
GIT
Repo
https://github.com/ex-aws/ex_aws_s3
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "4ce4d72219c0cb8de9356278203d8ea780311b75"
                },
                {
                    "fixed":  "ea26e8b43785f3ff1f14d6b22d8069fc06a58e55"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "2.0.0"
                },
                {
                    "fixed":  "2.6.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "4ce4d72219c0cb8de9356278203d8ea780311b75"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "ea26e8b43785f3ff1f14d6b22d8069fc06a58e55"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.0.0
v2.0.1
v2.0.2
v2.1.0
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.4.0
v2.5.0
v2.5.1
v2.5.2
v2.5.3
v2.5.4
v2.5.5
v2.5.7
v2.5.8
v2.5.9

Database specific

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