# CVE-2026-104019: OS command injection in the Studio Space startup validation script in Amazon SageMaker Distribution when running on Amazon SageMaker Unified Studio

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.01% (percentile 81, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2026-10-02T20:08:10.061Z
- **Modified:** 2026-10-09T16:37:11.836Z

## Who should check

- Anyone running AWS sagemaker-distribution \>= 2.8.0, \< 2.14.12; \>= 3.3.0, \< 3.9.12; \>= 4.0.0, \< 4.0.11; \>= 4.1.0, \< 4.1.11; \>= 4.2.0, \< 4.2.8; \>= 4.3.0, \< 4.3.5; \>= 4.4.0, \< 4.4.3

## 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.

## Affected and fixed versions

- AWS sagemaker-distribution: \>= 2.8.0, \< 2.14.12; \>= 3.3.0, \< 3.9.12; \>= 4.0.0, \< 4.0.11; \>= 4.1.0, \< 4.1.11; \>= 4.2.0, \< 4.2.8; \>= 4.3.0, \< 4.3.5; \>= 4.4.0, \< 4.4.3 (cvelist)

## Mitigation

- Upgrade sagemaker-distribution to 4.4.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104019. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104019.md
Affected: AWS sagemaker-distribution >= 2.8.0, < 2.14.12; >= 3.3.0, < 3.9.12; >= 4.0.0, < 4.0.11; >= 4.1.0, < 4.1.11; >= 4.2.0, < 4.2.8; >= 4.3.0, < 4.3.5; >= 4.4.0, < 4.4.3
Fixed in: AWS sagemaker-distribution 2.14.12, AWS sagemaker-distribution 3.9.12, AWS sagemaker-distribution 4.0.11, AWS sagemaker-distribution 4.1.11, AWS sagemaker-distribution 4.2.8, AWS sagemaker-distribution 4.3.5, AWS sagemaker-distribution 4.4.3

Steps:
1. Search this machine and project for AWS sagemaker-distribution: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104019 being exploited?

There is no confirmed exploitation: CVE-2026-104019 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.01% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-104019?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-104019?

AWS sagemaker-distribution \>= 2.8.0, \< 2.14.12; \>= 3.3.0, \< 3.9.12; \>= 4.0.0, \< 4.0.11; \>= 4.1.0, \< 4.1.11; \>= 4.2.0, \< 4.2.8; \>= 4.3.0, \< 4.3.5; \>= 4.4.0, \< 4.4.3.

### Is there a fix for CVE-2026-104019?

Yes. Fixed in AWS sagemaker-distribution 2.14.12, AWS sagemaker-distribution 3.9.12, AWS sagemaker-distribution 4.0.11, AWS sagemaker-distribution 4.1.11, AWS sagemaker-distribution 4.2.8, AWS sagemaker-distribution 4.3.5, AWS sagemaker-distribution 4.4.3. Upgrade sagemaker-distribution to 4.4.3 or later.

### How do I check if I'm affected by CVE-2026-104019?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://aws.amazon.com/security/security-bulletins/2026-125-aws/>
- vendor: <https://github.com/aws/sagemaker-distribution/security/advisories/GHSA-w64x-664p-7w66>
- patch: <https://github.com/aws/sagemaker-distribution/releases>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-104019>

HTML: <https://flawdb.com/CVE-2026-104019> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104019>
