Read the docs

Server-side request forgery in ex_aws S3 virtual-host requests

Priority LOW 26CWE-918Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Server-Side Request Forgery in ex-aws ex_aws from 2.1.7 before 2.8.0 lets an attacker who controls an S3 bucket name send the application's signed S3 requests to a host of their choice. With virtual_host set to true, ExAws.Operation.S3.add_bucket_to_path/2 builds the request hostname from the bucket name without validating it (CWE-918). The attacker can receive upload bodies, the access key id, the request signature and any STS session token, and can control the response the application parses.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

Server-Side Request Forgery (SSRF) vulnerability in ex-aws ex_aws allows an attacker who controls an S3 bucket name to send the application's signed S3 requests to a host of their choice. With virtual_host: true, ExAws.Operation.S3.add_bucket_to_path/2 in lib/ex_aws/operation/s3.ex builds the request hostname from the bucket name and the configured host without checking the bucket name. A bucket such as attacker.example/x? turns the request URL into https://attacker.example/x?.s3.amazonaws.com/key, so the request is signed for and sent to attacker.example. The attacker receives upload bodies, the access key id and request signature, and any STS session token, and controls the response the application parses. With bucket_as_host: true the bucket is the whole hostname, so any valid hostname redirects the request. This issue affects ex_aws: from 2.1.7 before 2.8.0.

Why it matters now

EPSS 0.00227 7th percentileScored 2026-11-30
Fix Fixed ex_aws (ex-aws): 2.8.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ex-awsex_aws2.1.7 to before 2.8.02.8.0Patch availableCNA
  • ex_aws Vendorex-aws Affected 2.1.7 to before 2.8.0 Fixed in 2.8.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:ex-aws:ex_aws:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

Upgrade ex_aws to version 2.8.0. The sources list no fixed version for other branches.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA ex_aws (ex-aws) Fixed in 2.8.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    ex-aws ex_aws 2.8.0

    4 records Highest priority Priority LOW 4 LOW

    Other records, highest priority first

    • TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF)Priority LOW 33
    • TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escapePriority LOW 32
    • TI-2026-97228 S3 object key truncation and injection in ex_awsPriority LOW 23

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-120720
  2. 2026-11-24 Alias added: GHSA-j423-57w6-3m28

References

  • TI-2026-97430 XML injection in ex_aws_s3 bucket configuration builders CVSS 4.0MEDIUM 6.9
  • TI-2026-97439 XML injection in ExAws S3 batch delete lets attackers remove extra objects CVSS 4.0MEDIUM 5.9
  • TI-2026-97429 XML injection in ex_aws_s3 object and bucket tagging CVSS 4.0LOW 2.1
  • TI-2026-34676 ex_aws_sns SigningCertURL not validated in verify_message/1 CVSS 4.0HIGH 8.7
  • TI-2026-97227 ex_aws IMDSv2 token request follows HTTP redirects (SSRF) CVSS 4.0HIGH 7.6
  • TI-2026-97235 ex_aws normalizes .. in S3 object keys client-side, allowing bucket or key-prefix escape CVSS 4.0HIGH 7.4
See all 16 →

Sources