Untrusted search path enables code execution in AWS Deadline Cloud worker agent

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-126087?

CVE-2026-126087 is a vulnerability classified as Untrusted Search Path, affecting openjd-sessions (affected versions: < 0.11.0) and deadline-cloud-worker-agent (affected versions: < 0.33.0). This vulnerability is rated Critical, with a CVSS score of 9.4. There is not enough data to determine whether this vulnerability has been exploited.

Overview

Original source data

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.

Affected products and scope

  • AWS OpenJD Sessions for Python: versions before 0.11.0 are affected.
  • AWS Deadline Cloud worker agent: versions before 0.33.0 are affected.
  • AWS identifies the exploitable deployment scope as customer-managed fleets on Linux running an affected worker agent. Service-managed fleets were remediated service-side and require no customer action; Windows workers are not affected.

Technical details

This is a CWE-426 untrusted search path flaw in the cross-user process launcher of Open Job Description (OpenJD) Sessions for Python. On Linux, the library switches from the worker agent OS user to the queue job user by invoking sudo by its bare name in an environment controlled by the job.

At a high level, the attack flow is:

  1. An authenticated user with permission to submit a job controls the job's PATH environment variable.
  2. The job causes the launcher to resolve an attacker-controlled executable instead of the trusted system command.
  3. That executable runs as the worker agent OS user rather than only as the queue job user.
  4. Code running under that identity can access AWS credentials held by the worker agent and, on customer-managed fleets, can read or modify other queues' session data and queue role credentials on the same host.

AWS confirms this mechanism and scope for customer-managed Linux fleets running an affected worker agent. The record does not establish the specific IAM permissions of each fleet role or queue role, so the resulting AWS access depends on the deployment configuration.

Exploitability

The issue is remotely reachable through the queue job-submission workflow. An attacker must be an authenticated user with permission to submit jobs to the queue; no additional interaction from another user is described. The crafted job controls the execution environment, and initial local access to the worker host is not required.

The supplied record does not mark this CVE as known exploited or associated with a public exploit, and the reviewed advisories do not name an exploit, campaign, or victim. This means public exploitation status is not established, not that exploitation can be ruled out.

Technical impact

The primary technical outcome is code execution as the worker agent OS user instead of the queue job user. That identity may access AWS credentials held by the worker agent, including fleet role credentials and EC2 instance identity credentials, allowing AWS actions within the permissions granted to those credentials.

On customer-managed fleets, the worker agent identity may also access or alter other queues' session data and queue role credentials on the same host. This creates risks to confidentiality, data integrity, AWS access control, and workload operations. The available evidence does not show that every deployment grants the same permissions or that the issue automatically provides access to an entire AWS account; impact depends on IAM and host configuration.

Business impact

A user with permission to submit a job to a queue may cross the intended boundary between the queue job user and the worker agent OS user on a customer-managed Linux fleet. This can expose fleet role credentials and EC2 instance identity credentials held by the worker agent, enabling unexpected AWS activity within the permissions of those credentials.

On the same host, AWS states that code running as the worker agent user can also read or modify other queues' session data and queue role credentials. The practical consequences depend on IAM permissions, host contents, and fleet configuration; the available evidence does not confirm a specific AWS account compromise. Service-managed fleets were remediated service-side, and Windows workers are outside the affected scope.

Remediation

  1. Upgrade the AWS Deadline Cloud worker agent to version 0.33.0, the fixed release identified by AWS. This release includes OpenJD Sessions for Python 0.11.0.
  2. If OpenJD Sessions for Python is used independently, upgrade it to 0.11.0. For forked or derivative code, ensure that the trusted-path resolver fixes are included.
  3. No configuration setting removes the issue. Until a customer-managed fleet is upgraded, limit deadline:CreateJob on its queues to trusted principals.
  4. For customer-managed fleets that ran an affected version, review AWS CloudTrail for unexpected activity by fleet roles and queue roles.
  5. AWS states that service-managed fleets were remediated service-side; this does not replace inventory and remediation of separately operated customer-managed fleets.

Detection

  1. Inventory customer-managed fleets and identify Linux hosts running the AWS Deadline Cloud worker agent.
  2. Check the deployed worker agent package and its bundled or resolved OpenJD Sessions for Python dependency using the organization's normal software inventory process.
  3. Distinguish service-managed fleets from customer-managed fleets; AWS states that service-managed fleets were remediated service-side.
  4. Review AWS CloudTrail for unexpected activity by fleet roles and queue roles on hosts that ran affected versions.
  5. Review deadline:CreateJob permissions and recent job submissions for queues on customer-managed fleets, especially where access is granted to untrusted principals.

No specific IOC is established by the available evidence. The absence of suspicious CloudTrail events does not prove that exploitation did not occur.

Sources (16)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.