Skip to main content
Mallory
CriticalVulnerability

CVE-2026-112408: S3 bucket ownership validation bypass in Amazon SageMaker Python SDK

Published Oct 21, 2026 · Updated 26 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 2 in a dayToday
CVSS9.4Critical · v4
EPSS0.76%51st percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Amazon Web Services
IdentifiersCVE-2026-112408CWE-940 · Improper Verification of Source of…

CVE-2026-112408 affects default_bucket() in Amazon SageMaker Python SDK V2 before 2.257.3 and V3 before 3.10.0. The SDK resolves a predictably named default S3 bucket without reliably verifying that the caller's AWS account owns it. An existing ExpectedBucketOwner check executes only for buckets appearing in the caller's owned-bucket listing, leaving attacker-owned buckets on an unprotected branch; several upload and download operations also omit ownership validation. An attacker who pre-creates the expected bucket and permits victim access can intercept or modify executable code and machine-learning artifacts. Processing-job script injection and inference-endpoint serving-code injection can result in remote code execution and IAM credential theft.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise the confidentiality and integrity of SageMaker workloads by executing attacker-controlled code with the workload's IAM role permissions. Demonstrated effects include theft of live execution-role credentials, environment variables, input data, and inference requests. Control of the storage also enables training-data exfiltration, data poisoning, model theft, and model artifact replacement. Injected endpoint code can remain active for the endpoint's lifetime while inference continues to return correct predictions. Further access using stolen credentials is constrained by the execution role's effective permissions.

Mitigation

If you can’t patch tonight, do this now.

If upgrading is not possible, explicitly configure an S3 bucket owned by your AWS account using the default_bucket parameter of sagemaker.Session or the SageMaker SDK configuration file rather than relying on automatic bucket selection. Verify ownership using HeadBucket with ExpectedBucketOwner. Pre-create required default buckets in the intended account before first use, or select explicitly configured, uniquely named trusted buckets. Where operationally appropriate, apply organization-level policies restricting access to externally owned S3 buckets and audit SageMaker workload bucket references against your owned-bucket inventory.

Remediation

Patch, then assume compromise.

Upgrade Amazon SageMaker Python SDK V2 to version 2.257.3 or later, or V3 to version 3.10.0 or later, preferably the latest supported release. Update all environments that package or execute the SDK, including notebooks, developer environments, CI/CD images, and deployed automation. Incorporate the ownership-validation fixes into any forked or derivative code.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Amazon Web ServicesAmazon Sagemaker Python Sdkapplication
FAQ

Frequently asked questions

Is CVE-2026-112408 exploited in the wild?
As of Nov 2, 2026, Mallory has no reports of CVE-2026-112408 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-112408?
As of Nov 2, 2026, Mallory has found no public exploit for CVE-2026-112408.
Is there a patch for CVE-2026-112408?
Upgrade Amazon SageMaker Python SDK V2 to version 2.257.3 or later, or V3 to version 3.10.0 or later, preferably the latest supported release. Update all environments that package or execute the SDK, including notebooks, developer environments, CI/CD images, and deployed automation.
What products are affected by CVE-2026-112408?
Amazon Web Services Amazon Sagemaker Python Sdk.
How severe is CVE-2026-112408?
CVE-2026-112408 has a CVSS v4 score of 9.4 (Critical) and an EPSS score of 0.76% (51st percentile) as of Nov 2, 2026.
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
upwind blogNews · Nov 2, 2026Kick the Bucket: S3 Bucket Squatting Through a Series of Half-Patched AWS Patterns - UpwindAn S3 bucket-squatting vulnerability in the SageMaker Python SDK allows attackers to pre-create predictable default buckets and poison executable artifacts. Successful exploitation enables remote code execution under the victim's IAM role, persistent inference-request exfiltration, and IAM credential theft. An earlier ownership-validation defense contained a logic flaw, and multiple upload and download operations lacked ownership checks. Fixed in SDK v3.10.0 in May 2026.Read more ↗upwind blogNews · Nov 2, 2026Training on Enemy Ground: Cross-Tenant RCE in Amazon SageMaker - UpwindA predictable S3 bucket naming and ownership-validation vulnerability in the Amazon SageMaker Python SDK enables cross-tenant remote code execution. An attacker who pre-registers a victim's default bucket can steal or poison training data and model artifacts, modify processing and endpoint-serving code, and exfiltrate execution-role IAM credentials and inference requests. The article reports a CVSS 4.0 score of 9.4. Researchers demonstrated exploitation, but the content does not report in-the-wild attacks. SDK version 3.10.0 addresses the vulnerability; additional mitigations include verifying bucket ownership, using explicitly named victim-owned buckets, and restricting S3 access through service control policies.Read more ↗sh3llc0d3 blogNews · Oct 25, 2026Amazon SageMaker Python SDK S3 Bucket Hijacking: | ShellcodeThe content describes a high-severity ownership-validation flaw in the Amazon SageMaker Python SDK before version 2.235.0, rated CVSS 8.1. Session.default_bucket() accepts predictable S3 bucket names without verifying their owner. An attacker who registers a victim's prospective default bucket first could receive sensitive training artifacts or supply poisoned model artifacts, potentially leading to code execution during unsafe deserialization. The article describes an attack scenario but does not report observed exploitation.Read more ↗cvefeed high severityNews · Oct 21, 2026CVE-2026-112408 - Missing bucket ownership verification in Amazon SageMaker Python SDK default_bucket()Amazon SageMaker Python SDK's default_bucket() function uses predictably named S3 buckets without validating ownership. An attacker who pre-creates the expected bucket could achieve code execution in the target SageMaker execution environment and obtain IAM credentials. Affected versions are V3 before 3.10.0 and V2 before 2.257.3. Upgrading to these fixed releases remediates the issue.Read more ↗
+1 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.