---
id: CVE-2026-104019
title: >-
  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…
summary: >-
  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…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: AWS
product: sagemaker-distribution
affected:
  - sagemaker-distribution >= 2.8.0 < 2.14.12
  - sagemaker-distribution >= 3.3.0 < 3.9.12
  - sagemaker-distribution >= 4.0.0 < 4.0.11
  - sagemaker-distribution >= 4.1.0 < 4.1.11
  - sagemaker-distribution >= 4.2.0 < 4.2.8
  - sagemaker-distribution >= 4.3.0 < 4.3.5
  - sagemaker-distribution >= 4.4.0 < 4.4.3
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T21:16:54.477'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104019'
references:
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-125-aws/'
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
  - url: 'https://github.com/aws/sagemaker-distribution/releases'
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
  - url: >-
      https://github.com/aws/sagemaker-distribution/security/advisories/GHSA-w64x-664p-7w66
    label: ff89ba41-3aa1-4d27-914a-91399e9639e5
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-02T22:33:09.843Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
