CVE-2026-104019 — OS command injection in the Studio Space startup validation script in Amazon SageMaker…¶
Key facts
CVE-2026-104019 is a Critical (9.0) vulnerability: OS command injection in the Studio Space startup validation script in Amazon SageMaker…. This entry ships a detection-only PoC and a Docker test lab.
| CVE | CVE-2026-104019 |
| Severity | Critical (9.0) |
| Detection / prevention | — |
| PoC | poc.py |
| Source | 2026/CVE-2026-104019/ |
Details¶
English | 한국어
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.
Vulnerability Details¶
| Property | Value |
|---|---|
| CVE ID | CVE-2026-104019 |
| Type | RCE |
| CVSS Score | 9.0 |
Proof of Concept¶
Download¶
# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2026/CVE-2026-104019/poc.py
Usage¶
# Run PoC against target
python3 poc.py --target <TARGET_URL>
# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>
⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.
Test Lab¶
This repository includes a Docker-based test environment with both vulnerable and patched applications.
Quick Start¶
# Clone and navigate to CVE directory
cd CVE-2026-104019
# Start both applications
docker-compose up -d
# Run tests
./run-tests.sh # Linux/Mac
./run-tests.ps1 # Windows PowerShell
Application Endpoints¶
| Application | URL | Status |
|---|---|---|
| Vulnerable App | http://localhost:8080 | Shows vulnerability |
| Patched App | http://localhost:8081 | Demonstrates fix |
Directory Structure¶
├── README.md # English documentation
├── README_KO.md # Korean documentation
├── poc.py # PoC detection script
├── docker-compose.yml # Container orchestration
├── run-tests.sh # Linux/Mac test runner
├── run-tests.ps1 # Windows test runner
├── vulnerable-app/ # Vulnerable version
│ ├── app.py
│ ├── Dockerfile
│ └── requirements.txt
└── patched-app/ # Fixed version
├── app.py
├── Dockerfile
└── requirements.txt
References¶
- https://aws.amazon.com/security/security-bulletins/2026-125-aws/
- https://github.com/aws/sagemaker-distribution/releases
- https://github.com/aws/sagemaker-distribution/security/advisories/GHSA-w64x-664p-7w66
Generated by PoC Generator on 2026-10-03T11:38:28.462535258
Frequently asked questions¶
What is CVE-2026-104019?¶
CVE-2026-104019 is a Critical (9.0) vulnerability: OS command injection in the Studio Space startup validation script in Amazon SageMaker…. This entry ships a detection-only PoC and a Docker test lab.
How do I detect CVE-2026-104019?¶
Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.
How do I block or mitigate CVE-2026-104019?¶
Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.
For authorized security testing and research only. See the full source and NVD record.