Action not permitted
Modal body text goes here.
Modal Title
Modal Body
EUVD-2026-412199
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.888342+00:00",
"id": "EUVD-2026-412199"
}
CVE-2026-63585 (GCVE-0-2026-63585)
Vulnerability from cvelistv5 – Published: 2026-11-24 14:13 – Updated: 2026-11-24 14:13
VLAI
EPSS
VEX
Title
ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1
Summary
ExAws.S3 constructs S3 ACL grant headers (such as x-amz-grant-read and x-amz-grant-full-control) in format_grant_header/1 by interpolating grantee identifiers into a quoted, comma-separated list without escaping. Grantee email and id values are wrapped in double quotes and joined with a comma, but double-quote, comma, and CR/LF characters in the value are not neutralized. An application that passes an attacker-influenced grantee value (for example an email address taken from a "share this object" feature) into an ACL grant option (grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control) lets the attacker close the quoted token and inject an additional grantee, such as the attacker's own canonical id or the predefined AllUsers group URI, into the header. S3 then applies the injected grantee, granting an arbitrary principal the same permission (up to full control or public access) in an unintended ACL grantee-injection and privilege-escalation issue.
This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.
Severity
CWE
- CWE-116 - Improper Encoding or Escaping of Output
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-63585.html | related |
| https://osv.dev/vulnerability/EEF-CVE-2026-63585 | related |
| https://github.com/ex-aws/ex_aws_s3/commit/4ce4d7… | related |
| https://github.com/ex-aws/ex_aws_s3/commit/dd4226… | 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.Utils\u0027",
"\u0027Elixir.ExAws.S3\u0027"
],
"packageName": "ex_aws_s3",
"packageURL": "pkg:hex/ex_aws_s3",
"product": "ex_aws_s3",
"programFiles": [
"lib/ex_aws/s3/utils.ex",
"lib/ex_aws/s3.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.ExAws.S3.Utils\u0027:format_grant_header/1"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:put_object_acl/3"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_acl/3"
}
],
"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.Utils\u0027",
"\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/utils.ex",
"lib/ex_aws/s3.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.ExAws.S3.Utils\u0027:format_grant_header/1"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:put_object_acl/3"
},
{
"name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_acl/3"
}
],
"repo": "https://github.com/ex-aws/ex_aws_s3",
"vendor": "ex-aws",
"versions": [
{
"lessThan": "dd422637a46203d01cc47fd832836758f8090556",
"status": "affected",
"version": "4ce4d72219c0cb8de9356278203d8ea780311b75",
"versionType": "git"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eThe vulnerability requires the host application to pass untrusted input into an \u003ccode\u003eExAws.S3\u003c/code\u003e ACL grant option (\u003ccode\u003egrant_read\u003c/code\u003e, \u003ccode\u003egrant_write\u003c/code\u003e, \u003ccode\u003egrant_read_acp\u003c/code\u003e, \u003ccode\u003egrant_write_acp\u003c/code\u003e, or \u003ccode\u003egrant_full_control\u003c/code\u003e). Applications that only pass trusted, validated grantee identifiers into these options are not affected.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "The vulnerability requires the host application to pass untrusted input into an `ExAws.S3` ACL grant option (`grant_read`, `grant_write`, `grant_read_acp`, `grant_write_acp`, or `grant_full_control`). Applications that only pass trusted, validated grantee identifiers into these options are not affected."
}
],
"value": "The vulnerability requires the host application to pass untrusted input into an ExAws.S3 ACL grant option (grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control). Applications that only pass trusted, validated grantee identifiers into these options are 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"
}
],
"datePublic": "2026-11-24T14:13:11.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003e\u003ccode\u003eExAws.S3\u003c/code\u003e constructs S3 ACL grant headers (such as \u003ccode\u003ex-amz-grant-read\u003c/code\u003e and \u003ccode\u003ex-amz-grant-full-control\u003c/code\u003e) in \u003ccode\u003eformat_grant_header/1\u003c/code\u003e by interpolating grantee identifiers into a quoted, comma-separated list without escaping. Grantee email and id values are wrapped in double quotes and joined with a comma, but double-quote, comma, and CR/LF characters in the value are not neutralized. An application that passes an attacker-influenced grantee value (for example an email address taken from a \"share this object\" feature) into an ACL grant option (\u003ccode\u003egrant_read\u003c/code\u003e, \u003ccode\u003egrant_write\u003c/code\u003e, \u003ccode\u003egrant_read_acp\u003c/code\u003e, \u003ccode\u003egrant_write_acp\u003c/code\u003e, or \u003ccode\u003egrant_full_control\u003c/code\u003e) lets the attacker close the quoted token and inject an additional grantee, such as the attacker\u0027s own canonical id or the predefined AllUsers group URI, into the header. S3 then applies the injected grantee, granting an arbitrary principal the same permission (up to full control or public access) in an unintended ACL grantee-injection and privilege-escalation issue.\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": "`ExAws.S3` constructs S3 ACL grant headers (such as `x-amz-grant-read` and `x-amz-grant-full-control`) in `format_grant_header/1` by interpolating grantee identifiers into a quoted, comma-separated list without escaping. Grantee email and id values are wrapped in double quotes and joined with a comma, but double-quote, comma, and CR/LF characters in the value are not neutralized. An application that passes an attacker-influenced grantee value (for example an email address taken from a \"share this object\" feature) into an ACL grant option (`grant_read`, `grant_write`, `grant_read_acp`, `grant_write_acp`, or `grant_full_control`) lets the attacker close the quoted token and inject an additional grantee, such as the attacker\u0027s own canonical id or the predefined AllUsers group URI, into the header. S3 then applies the injected grantee, granting an arbitrary principal the same permission (up to full control or public access) in an unintended ACL grantee-injection and privilege-escalation issue.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
}
],
"value": "ExAws.S3 constructs S3 ACL grant headers (such as x-amz-grant-read and x-amz-grant-full-control) in format_grant_header/1 by interpolating grantee identifiers into a quoted, comma-separated list without escaping. Grantee email and id values are wrapped in double quotes and joined with a comma, but double-quote, comma, and CR/LF characters in the value are not neutralized. An application that passes an attacker-influenced grantee value (for example an email address taken from a \"share this object\" feature) into an ACL grant option (grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control) lets the attacker close the quoted token and inject an additional grantee, such as the attacker\u0027s own canonical id or the predefined AllUsers group URI, into the header. S3 then applies the injected grantee, granting an arbitrary principal the same permission (up to full control or public access) in an unintended ACL grantee-injection and privilege-escalation issue.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
}
],
"impacts": [
{
"capecId": "CAPEC-137",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eThis is an ACL grantee-injection vulnerability leading to unintended permission grants and potential privilege escalation. It affects any application using \u003ccode\u003eExAws.S3\u003c/code\u003e ACL grant options (\u003ccode\u003egrant_read\u003c/code\u003e, \u003ccode\u003egrant_write\u003c/code\u003e, \u003ccode\u003egrant_read_acp\u003c/code\u003e, \u003ccode\u003egrant_write_acp\u003c/code\u003e, \u003ccode\u003egrant_full_control\u003c/code\u003e) where the grantee email or id is derived from untrusted input. An attacker who can influence a grantee value can grant their own AWS principal access to objects or buckets, up to full control, by injecting an extra grantee into the comma-separated grant header.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "This is an ACL grantee-injection vulnerability leading to unintended permission grants and potential privilege escalation. It affects any application using `ExAws.S3` ACL grant options (`grant_read`, `grant_write`, `grant_read_acp`, `grant_write_acp`, `grant_full_control`) where the grantee email or id is derived from untrusted input. An attacker who can influence a grantee value can grant their own AWS principal access to objects or buckets, up to full control, by injecting an extra grantee into the comma-separated grant header."
}
],
"value": "This is an ACL grantee-injection vulnerability leading to unintended permission grants and potential privilege escalation. It affects any application using ExAws.S3 ACL grant options (grant_read, grant_write, grant_read_acp, grant_write_acp, grant_full_control) where the grantee email or id is derived from untrusted input. An attacker who can influence a grantee value can grant their own AWS principal access to objects or buckets, up to full control, by injecting an extra grantee into the comma-separated grant header."
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "HIGH",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-116",
"description": "CWE-116 Improper Encoding or Escaping of Output",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T14:13:11.918Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-6fg2-v8g4-vfg2"
},
{
"name": "EEF CNA record for CVE-2026-63585",
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-63585.html"
},
{
"name": "OSV record EEF-CVE-2026-63585",
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-63585"
},
{
"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 dd42263 in ex-aws/ex_aws_s3",
"tags": [
"patch"
],
"url": "https://github.com/ex-aws/ex_aws_s3/commit/dd422637a46203d01cc47fd832836758f8090556"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "ExAws.S3 ACL grantee injection via unescaped grant headers in format_grant_header/1",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eValidate grantee identifiers before passing them to \u003ccode\u003eExAws.S3\u003c/code\u003e ACL grant options and reject any value containing a double quote, comma, or CR/LF character, or restrict grantee input to trusted canonical ids and email addresses that match the expected S3 grantee grammar.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Validate grantee identifiers before passing them to `ExAws.S3` ACL grant options and reject any value containing a double quote, comma, or CR/LF character, or restrict grantee input to trusted canonical ids and email addresses that match the expected S3 grantee grammar."
}
],
"value": "Validate grantee identifiers before passing them to ExAws.S3 ACL grant options and reject any value containing a double quote, comma, or CR/LF character, or restrict grantee input to trusted canonical ids and email addresses that match the expected S3 grantee grammar."
}
],
"x_proofOfConcept": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003col\u003e\n\u003cli\u003eAn application offers \"share this object\" and calls \u003ccode\u003eExAws.S3.put_object_acl(\"victim-bucket\", \"secret.txt\", grant_read: [email: email])\u003c/code\u003e with a user-supplied email.\u003c/li\u003e\n\u003cli\u003eThe attacker submits the email \u003ccode\u003evictim@example.com\", id=\"ATTACKER_CANONICAL_ID_deadbeef\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003eformat_grant_header/1\u003c/code\u003e interpolates it into \u003ccode\u003eemailAddress=\"...\"\u003c/code\u003e, closing the quote after \u003ccode\u003evictim@example.com\u003c/code\u003e and opening a second tuple.\u003c/li\u003e\n\u003cli\u003eThe \u003ccode\u003ex-amz-grant-read\u003c/code\u003e header carries \u003ccode\u003eemailAddress=\"victim@example.com\", id=\"ATTACKER_CANONICAL_ID_deadbeef\"\u003c/code\u003e, granting the attacker\u0027s principal read access.\u003c/li\u003e\n\u003c/ol\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "1. An application offers \"share this object\" and calls `ExAws.S3.put_object_acl(\"victim-bucket\", \"secret.txt\", grant_read: [email: email])` with a user-supplied email.\n2. The attacker submits the email `victim@example.com\", id=\"ATTACKER_CANONICAL_ID_deadbeef`.\n3. `format_grant_header/1` interpolates it into `emailAddress=\"...\"`, closing the quote after `victim@example.com` and opening a second tuple.\n4. The `x-amz-grant-read` header carries `emailAddress=\"victim@example.com\", id=\"ATTACKER_CANONICAL_ID_deadbeef\"`, granting the attacker\u0027s principal read access."
}
],
"value": "* An application offers \"share this object\" and calls ExAws.S3.put_object_acl(\"victim-bucket\", \"secret.txt\", grant_read: [email: email]) with a user-supplied email.\n* The attacker submits the email victim@example.com\", id=\"ATTACKER_CANONICAL_ID_deadbeef.\n* format_grant_header/1 interpolates it into emailAddress=\"...\", closing the quote after victim@example.com and opening a second tuple.\n* The x-amz-grant-read header carries emailAddress=\"victim@example.com\", id=\"ATTACKER_CANONICAL_ID_deadbeef\", granting the attacker\u0027s principal read access."
}
],
"x_technicalAnalysis": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003e\u003cstrong\u003e1. Header grammar.\u003c/strong\u003e S3 grant headers such as \u003ccode\u003ex-amz-grant-read\u003c/code\u003e and \u003ccode\u003ex-amz-grant-full-control\u003c/code\u003e are a comma-separated list of quoted grantee tuples, \u003ccode\u003etype=\"id\"[, type=\"id\"]...\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Unescaped interpolation.\u003c/strong\u003e \u003ccode\u003eformat_grant_header/1\u003c/code\u003e in \u003ccode\u003elib/ex_aws/s3/utils.ex\u003c/code\u003e builds each tuple as \u003ccode\u003eemailAddress=\"#{email}\"\u003c/code\u003e or \u003ccode\u003e#{key}=\"#{value}\"\u003c/code\u003e and joins them with \u003ccode\u003e, \u003c/code\u003e. It does not check identifiers against the id or email grammar and does not reject or escape \u003ccode\u003e\"\u003c/code\u003e, \u003ccode\u003e,\u003c/code\u003e or CR/LF.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Grantee injection.\u003c/strong\u003e A grantee value such as \u003ccode\u003ex\", id=\"ATTACKER_CANONICAL_ID\u003c/code\u003e closes the quoted token and opens a second tuple, producing \u003ccode\u003eid=\"x\", id=\"ATTACKER_CANONICAL_ID\"\u003c/code\u003e. S3 parses two grantees and gives the injected principal the permission the header conveys, up to full control for \u003ccode\u003ex-amz-grant-full-control\u003c/code\u003e.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "**1. Header grammar.** S3 grant headers such as `x-amz-grant-read` and `x-amz-grant-full-control` are a comma-separated list of quoted grantee tuples, `type=\"id\"[, type=\"id\"]...`.\n\n**2. Unescaped interpolation.** `format_grant_header/1` in `lib/ex_aws/s3/utils.ex` builds each tuple as `emailAddress=\"#{email}\"` or `#{key}=\"#{value}\"` and joins them with `, `. It does not check identifiers against the id or email grammar and does not reject or escape `\"`, `,` or CR/LF.\n\n**3. Grantee injection.** A grantee value such as `x\", id=\"ATTACKER_CANONICAL_ID` closes the quoted token and opens a second tuple, producing `id=\"x\", id=\"ATTACKER_CANONICAL_ID\"`. S3 parses two grantees and gives the injected principal the permission the header conveys, up to full control for `x-amz-grant-full-control`."
}
],
"value": "1. Header grammar. S3 grant headers such as x-amz-grant-read and x-amz-grant-full-control are a comma-separated list of quoted grantee tuples, type=\"id\"[, type=\"id\"]....\n\n2. Unescaped interpolation. format_grant_header/1 in lib/ex_aws/s3/utils.ex builds each tuple as emailAddress=\"#{email}\" or #{key}=\"#{value}\" and joins them with , . It does not check identifiers against the id or email grammar and does not reject or escape \", , or CR/LF.\n\n3. Grantee injection. A grantee value such as x\", id=\"ATTACKER_CANONICAL_ID closes the quoted token and opens a second tuple, producing id=\"x\", id=\"ATTACKER_CANONICAL_ID\". S3 parses two grantees and gives the injected principal the permission the header conveys, up to full control for x-amz-grant-full-control."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-63585",
"datePublished": "2026-11-24T14:13:11.918Z",
"dateReserved": "2026-07-17T04:14:44.351Z",
"dateUpdated": "2026-11-24T14:13:11.918Z",
"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…