CVE-2026-126087
Untrusted search path in OpenJD allows remote job submitters to run code as worker agent.
- CVSS 9.4
- CWE-426
- Input Validation and Sanitization
- Remote
Untrusted search path in the cross-user process launcher in Open Job Description (OpenJD) Sessions for Python before 0.11.0, as used in the AWS Deadline Cloud worker agent before 0.33.0, on Linux might allow an authenticated remote user with permission to submit jobs to a queue to execute arbitrary code as the worker agent OS user and obtain the AWS credentials held by the worker agent via a crafted job that modifies the PATH environment variable. To remediate this issue, users of customer-managed fleets should upgrade the Deadline Cloud worker agent to version 0.33.0 or later, which includes OpenJD Sessions 0.11.0. Service-managed fleets were remediated service-side.
- CWE
- CWE-426
- CVSS base score
- 9.4
- Published
- 2026-11-10
- OWASP
- A05 Security Misconfiguration
- Orthogonal defect classification
- Assignment
- Code defect classification
- Missing Check
- Category
- Input Validation and Sanitization
- Subcategory
- Insecure Direct Object References (IDOR)
- Accessibility scope
- Remote
- Impact
- Arbitrary Code Execution
- Affected component
- OpenJD Sessions
- Fixed by upgrading
- Yes
Solution
Upgrade the Deadline Cloud worker agent to version 0.33.0 or later (which includes OpenJD Sessions 0.11.0).
Vulnerable code sample
import os
import subprocess
def launch_job(command_args):
# VULNERABLE: uses untrusted PATH to locate executable
result = subprocess.run(command_args, capture_output=True, text=True)
return result.stdout
def handle_job(job):
env = os.environ.copy()
# job['executable'] might be just "mytool" relying on PATH
cmd = [job['executable']] + job.get('args', [])
output = launch_job(cmd)
return outputPatched code sample
import os
import subprocess
import shutil
def launch_job(command_args):
# FIX: resolve executable via absolute path to avoid untrusted search path
exe = shutil.which(command_args[0])
if not exe:
raise FileNotFoundError(f"Executable {command_args[0]} not found in safe PATH")
safe_cmd = [exe] + command_args[1:]
result = subprocess.run(safe_cmd, capture_output=True, text=True)
return result.stdout
def handle_job(job):
env = os.environ.copy()
cmd = [job['executable']] + job.get('args', [])
output = launch_job(cmd)
return outputCite this entry
@misc{vaitp:cve2026126087,
title = {{Untrusted search path in OpenJD allows remote job submitters to run code as worker agent.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-126087},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-126087/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
