CVE-2026-104019 Command injection in sagemaker-distribution

Critical 9.3 Published Updated

Authenticated users can execute arbitrary commands in other members' Studio Spaces to steal credentials via OS command injection in startup scripts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-104019?

CVE-2026-104019 is a critical command injection vulnerability in AWS sagemaker-distribution, published on 2 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

OS command injection in the Studio Space startup validation script in Amazon SageMaker Distribution 2.x before 2.14.12, 3.x before 3.9.12, 4.0.x before 4.0.11, 4.1.x before 4.1.11, 4.2.x before 4.2.8, 4.3.x before 4.3.5, and 4.4.x before 4.4.3, as used by Amazon SageMaker Unified Studio, might allow an authenticated remote user with project contributor permissions to execute arbitrary commands in another project member's Studio Space and obtain that member's temporary execution role credentials via a crafted connection resource property that is interpolated into a shell invocation without neutralization.

To remediate this issue, users should upgrade to version 2.14.12, 3.9.12, 4.0.11, 4.1.11, 4.2.8, 4.3.5, or 4.4.3, as applicable to the minor line in use. Users on minor lines that have reached end of support must move to a supported minor line, because no patched version will be released for those lines. In Amazon SageMaker Unified Studio, Studio Spaces adopt the latest patch of their minor line on restart once the patched images are deployed, so no version selection is required.

Weakness: CWE-78

Which versions are affected by CVE-2026-104019?

How do I fix CVE-2026-104019?

No fix has been published for CVE-2026-104019 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-104019 being exploited?

There is no known exploitation of CVE-2026-104019 in the wild and no public exploit code.

Sources

Also known as GHSA-w64x-664p-7w66.

Is CVE-2026-104019 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free