Action not permitted
Modal body text goes here.
Modal Title
Modal Body
EUVD-2026-412200
European Vulnerability Database identifier assigned by ENISAReserved
2026-11-24 14:49
Assigner
ENISA
Alias of
a CVE record, shown under related vulnerabilities.
This identifier carries no description, severity or references of its own:
they belong to that CVE.
{
"assigner": "ENISA",
"date_reserved": "2026-11-24T14:49:29.894966+00:00",
"id": "EUVD-2026-412200"
}
CVE-2026-63582 (GCVE-0-2026-63582)
Vulnerability from cvelistv5 – Published: 2026-11-24 14:13 – Updated: 2026-11-24 14:13
VLAI
EPSS
VEX
Title
S3 bucket name controls the host of presigned URLs in ex_aws_s3
Summary
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.
Severity
CWE
- CWE-610 - Externally Controlled Reference to a Resource in Another Sphere
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/ex-aws/ex_aws_s3/security/advi… | vendor-advisoryrelated |
| https://cna.erlef.org/cves/CVE-2026-63582.html | related |
| https://osv.dev/vulnerability/EEF-CVE-2026-63582 | related |
| https://github.com/ex-aws/ex_aws_s3/commit/4ce4d7… | related |
| https://github.com/ex-aws/ex_aws_s3/commit/ea26e8… | patch |
Impacted products
Date Public
2026-11-24 14:13
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.ExAws.S3\u0027"
],
"packageName": "ex_aws_s3",
"packageURL": "pkg:hex/ex_aws_s3",
"product": "ex_aws_s3",
"programFiles": [
"lib/ex_aws/s3.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.ExAws.S3\u0027:presigned_url/5"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:presigned_post/4"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:url_to_sign/5"
}
],
"repo": "https://github.com/ex-aws/ex_aws_s3",
"vendor": "ex-aws",
"versions": [
{
"lessThan": "2.6.0",
"status": "affected",
"version": "2.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.ExAws.S3\u0027"
],
"packageName": "ex-aws/ex_aws_s3",
"packageURL": "pkg:github/ex-aws/ex_aws_s3",
"product": "ex_aws_s3",
"programFiles": [
"lib/ex_aws/s3.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.ExAws.S3\u0027:presigned_url/5"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:presigned_post/4"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:url_to_sign/5"
}
],
"repo": "https://github.com/ex-aws/ex_aws_s3",
"vendor": "ex-aws",
"versions": [
{
"lessThan": "ea26e8b43785f3ff1f14d6b22d8069fc06a58e55",
"status": "affected",
"version": "4ce4d72219c0cb8de9356278203d8ea780311b75",
"versionType": "git"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eReachable only when presigned URLs or POST forms are generated with \u003ccode\u003evirtual_host: true\u003c/code\u003e, \u003ccode\u003es3_accelerate: true\u003c/code\u003e or \u003ccode\u003ebucket_as_host: true\u003c/code\u003e and the application passes a bucket name an attacker can influence, for example per-tenant or user-supplied buckets. Path-style presigning, the default, places the bucket in the path and is not affected.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Reachable only when presigned URLs or POST forms are generated with `virtual_host: true`, `s3_accelerate: true` or `bucket_as_host: true` and the application passes a bucket name an attacker can influence, for example per-tenant or user-supplied buckets. Path-style presigning, the default, places the bucket in the path and is not affected."
}
],
"value": "Reachable only when presigned URLs or POST forms are generated with virtual_host: true, s3_accelerate: true or bucket_as_host: true and the application passes a bucket name an attacker can influence, for example per-tenant or user-supplied buckets. Path-style presigning, the default, places the bucket in the path and is not affected."
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
"versionEndExcluding": "2.6.0",
"versionStartIncluding": "2.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Peter Ullrich"
},
{
"lang": "en",
"type": "reporter",
"value": "Peter Ullrich"
},
{
"lang": "en",
"type": "analyst",
"value": "Jonatan M\u00e4nnchen / EEF"
},
{
"lang": "en",
"type": "coordinator",
"value": "Peter Ullrich"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Bernard Duggan"
}
],
"dateAssigned": "2026-11-24T14:02:01.000Z",
"datePublic": "2026-11-24T14:13:15.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eExternally 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.\u003c/p\u003e\n\u003cp\u003eWith \u003ccode\u003evirtual_host: true\u003c/code\u003e, \u003ccode\u003es3_accelerate: true\u003c/code\u003e or \u003ccode\u003ebucket_as_host: true\u003c/code\u003e, \u003ccode\u003eExAws.S3.presigned_url/5\u003c/code\u003e and \u003ccode\u003eExAws.S3.presigned_post/4\u003c/code\u003e build the URL from the bucket name without checking it. A bucket such as \u003ccode\u003eattacker.example/x?\u003c/code\u003e turns the URL into \u003ccode\u003ehttps://attacker.example/x?.s3.amazonaws.com...\u003c/code\u003e, and the signature is computed for that host. Clients given the URL upload their files to, or download content from, the attacker\u0027s host, and every such URL discloses the access key id. With \u003ccode\u003ebucket_as_host: true\u003c/code\u003e any valid hostname works as the bucket name.\u003c/p\u003e\n\u003cp\u003eThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nWith `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\u0027s host, and every such URL discloses the access key id. With `bucket_as_host: true` any valid hostname works as the bucket name.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
}
],
"value": "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.\n\nWith 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\u0027s host, and every such URL discloses the access key id. With bucket_as_host: true any valid hostname works as the bucket name.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
}
],
"impacts": [
{
"capecId": "CAPEC-154",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eAn attacker who can choose the bucket name makes the application hand out presigned URLs and POST forms that point at the attacker\u0027s host. Files other users upload through those forms go to the attacker, presigned downloads serve attacker-controlled content under the application\u0027s name, and every such URL discloses the access key id. Applications that presign for per-tenant or user-supplied buckets with virtual-host addressing are affected.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "An attacker who can choose the bucket name makes the application hand out presigned URLs and POST forms that point at the attacker\u0027s host. Files other users upload through those forms go to the attacker, presigned downloads serve attacker-controlled content under the application\u0027s name, and every such URL discloses the access key id. Applications that presign for per-tenant or user-supplied buckets with virtual-host addressing are affected."
}
],
"value": "An attacker who can choose the bucket name makes the application hand out presigned URLs and POST forms that point at the attacker\u0027s host. Files other users upload through those forms go to the attacker, presigned downloads serve attacker-controlled content under the application\u0027s name, and every such URL discloses the access key id. Applications that presign for per-tenant or user-supplied buckets with virtual-host addressing are affected."
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"baseScore": 5.8,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-610",
"description": "CWE-610 Externally Controlled Reference to a Resource in Another Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T14:13:16.822Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"name": "Virtual-host bucket name controls the host of presigned URLs in ExAws.S3.presigned_url/5 and presigned_post/4",
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-p62r-cgcg-9fm7"
},
{
"name": "EEF CNA record for CVE-2026-63582",
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-63582.html"
},
{
"name": "OSV record EEF-CVE-2026-63582",
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-63582"
},
{
"name": "Introducing commit 4ce4d72 in ex-aws/ex_aws_s3",
"tags": [
"related"
],
"url": "https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75"
},
{
"name": "Fix commit ea26e8b in ex-aws/ex_aws_s3",
"tags": [
"patch"
],
"url": "https://github.com/ex-aws/ex_aws_s3/commit/ea26e8b43785f3ff1f14d6b22d8069fc06a58e55"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eUpgrading rejects bucket names containing characters that can change the host of a presigned URL. With \u003ccode\u003ebucket_as_host: true\u003c/code\u003e, a syntactically valid hostname is still used as the host after upgrading: applications that presign with \u003ccode\u003ebucket_as_host: true\u003c/code\u003e and bucket names they do not fully control must also pass the \u003ccode\u003ebucket_as_host_allowlist\u003c/code\u003e option, or set it in the S3 config, with the list of trusted hostnames.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Upgrading rejects bucket names containing characters that can change the host of a presigned URL. With `bucket_as_host: true`, a syntactically valid hostname is still used as the host after upgrading: applications that presign with `bucket_as_host: true` and bucket names they do not fully control must also pass the `bucket_as_host_allowlist` option, or set it in the S3 config, with the list of trusted hostnames."
}
],
"value": "Upgrading rejects bucket names containing characters that can change the host of a presigned URL. With bucket_as_host: true, a syntactically valid hostname is still used as the host after upgrading: applications that presign with bucket_as_host: true and bucket names they do not fully control must also pass the bucket_as_host_allowlist option, or set it in the S3 config, with the list of trusted hostnames."
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "S3 bucket name controls the host of presigned URLs in ex_aws_s3",
"x_proofOfConcept": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003col\u003e\n\u003cli\u003eAn application presigns uploads for per-tenant buckets with \u003ccode\u003evirtual_host: true\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eA tenant sets its bucket name to \u003ccode\u003eattacker.example/x?\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003eExAws.S3.presigned_url(config, :put, bucket, \"key\", virtual_host: true)\u003c/code\u003e returns \u003ccode\u003ehttps://attacker.example/x?.s3.amazonaws.com%2Fkey=\u0026amp;X-Amz-Credential=...\u003c/code\u003e, and \u003ccode\u003epresigned_post/4\u003c/code\u003e returns the form action \u003ccode\u003ehttps://attacker.example/x?.s3.amazonaws.com\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003eURI.parse/1\u003c/code\u003e on either yields the host \u003ccode\u003eattacker.example\u003c/code\u003e, so any client given the URL or form connects there.\u003c/li\u003e\n\u003c/ol\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "1. An application presigns uploads for per-tenant buckets with `virtual_host: true`.\n2. A tenant sets its bucket name to `attacker.example/x?`.\n3. `ExAws.S3.presigned_url(config, :put, bucket, \"key\", virtual_host: true)` returns `https://attacker.example/x?.s3.amazonaws.com%2Fkey=\u0026X-Amz-Credential=...`, and `presigned_post/4` returns the form action `https://attacker.example/x?.s3.amazonaws.com`.\n4. `URI.parse/1` on either yields the host `attacker.example`, so any client given the URL or form connects there."
}
],
"value": "* An application presigns uploads for per-tenant buckets with virtual_host: true.\n* A tenant sets its bucket name to attacker.example/x?.\n* ExAws.S3.presigned_url(config, :put, bucket, \"key\", virtual_host: true) returns https://attacker.example/x?.s3.amazonaws.com%2Fkey=\u0026X-Amz-Credential=..., and presigned_post/4 returns the form action https://attacker.example/x?.s3.amazonaws.com.\n* URI.parse/1 on either yields the host attacker.example, so any client given the URL or form connects there."
}
],
"x_technicalAnalysis": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003e\u003cstrong\u003e1. URL construction.\u003c/strong\u003e The private \u003ccode\u003eurl_to_sign/5\u003c/code\u003e in \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e builds the URL for \u003ccode\u003epresigned_url/5\u003c/code\u003e and \u003ccode\u003epresigned_post/4\u003c/code\u003e as \u003ccode\u003e\"#{scheme}#{bucket}.#{host}#{port}#{object}\"\u003c/code\u003e when \u003ccode\u003evirtual_host\u003c/code\u003e is set, or \u003ccode\u003e\"#{scheme}#{bucket}#{port}#{object}\"\u003c/code\u003e with \u003ccode\u003ebucket_as_host\u003c/code\u003e. \u003ccode\u003es3_accelerate: true\u003c/code\u003e sets \u003ccode\u003evirtual_host\u003c/code\u003e and takes the same branch. The bucket name is not checked.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Signing for the attacker\u0027s host.\u003c/strong\u003e The string goes to \u003ccode\u003eExAws.Auth.presigned_url/9\u003c/code\u003e, which signs \u003ccode\u003eURI.parse(url).authority\u003c/code\u003e. For the bucket \u003ccode\u003eattacker.example/x?\u003c/code\u003e the signed host is \u003ccode\u003eattacker.example\u003c/code\u003e, and the \u003ccode\u003e?\u003c/code\u003e pushes the object key into the query string.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect.\u003c/strong\u003e Presigned URLs are built locally and never pass through \u003ccode\u003eExAws.Operation.S3.add_bucket_to_path/2\u003c/code\u003e, so the fix in ex_aws for the request path does not cover them. A browser submitting the presigned POST sends its upload to the attacker, a client following a presigned GET receives attacker content, and \u003ccode\u003eX-Amz-Credential\u003c/code\u003e discloses the access key id. The secret key is not disclosed and the signature cannot be replayed against AWS.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "**1. URL construction.** The private `url_to_sign/5` in `lib/ex_aws/s3.ex` builds the URL for `presigned_url/5` and `presigned_post/4` as `\"#{scheme}#{bucket}.#{host}#{port}#{object}\"` when `virtual_host` is set, or `\"#{scheme}#{bucket}#{port}#{object}\"` with `bucket_as_host`. `s3_accelerate: true` sets `virtual_host` and takes the same branch. The bucket name is not checked.\n\n**2. Signing for the attacker\u0027s host.** The string goes to `ExAws.Auth.presigned_url/9`, which signs `URI.parse(url).authority`. For the bucket `attacker.example/x?` the signed host is `attacker.example`, and the `?` pushes the object key into the query string.\n\n**3. Effect.** Presigned URLs are built locally and never pass through `ExAws.Operation.S3.add_bucket_to_path/2`, so the fix in ex_aws for the request path does not cover them. A browser submitting the presigned POST sends its upload to the attacker, a client following a presigned GET receives attacker content, and `X-Amz-Credential` discloses the access key id. The secret key is not disclosed and the signature cannot be replayed against AWS."
}
],
"value": "1. URL construction. The private url_to_sign/5 in lib/ex_aws/s3.ex builds the URL for presigned_url/5 and presigned_post/4 as \"#{scheme}#{bucket}.#{host}#{port}#{object}\" when virtual_host is set, or \"#{scheme}#{bucket}#{port}#{object}\" with bucket_as_host. s3_accelerate: true sets virtual_host and takes the same branch. The bucket name is not checked.\n\n2. Signing for the attacker\u0027s host. The string goes to ExAws.Auth.presigned_url/9, which signs URI.parse(url).authority. For the bucket attacker.example/x? the signed host is attacker.example, and the ? pushes the object key into the query string.\n\n3. Effect. Presigned URLs are built locally and never pass through ExAws.Operation.S3.add_bucket_to_path/2, so the fix in ex_aws for the request path does not cover them. A browser submitting the presigned POST sends its upload to the attacker, a client following a presigned GET receives attacker content, and X-Amz-Credential discloses the access key id. The secret key is not disclosed and the signature cannot be replayed against AWS."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-63582",
"datePublished": "2026-11-24T14:13:16.822Z",
"dateReserved": "2026-07-17T04:14:44.351Z",
"dateUpdated": "2026-11-24T14:13:16.822Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Trend slope:
-
(linear fit over daily sighting counts)
Show additional events:
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…
Loading…