Description
Description

When launching a Docker or OCI worker, the setuid-root `worker-launcher` first changes ownership of the
entire worker directory to the untrusted topology user, and only afterwards reads and acts on the command
file that the supervisor wrote into that same directory. The file is opened without `O_NOFOLLOW` and without
re-verifying its owner, so between the ownership change and the read the tenant can replace its contents.

For the Docker path the parsed command is executed with real uid 0, and the command sanitiser is not a
privilege boundary: it admits `-v` with an arbitrary source, `--device`, `--cap-add`, `--security-opt`,
`--user` and `--net`, and copies positional arguments through verbatim. A rewritten file therefore yields an
attacker-authored, root-equivalent container invocation with the host filesystem available.

For the OCI path the same rewrite window applies, and mount validation is structural only, with no
source or destination allow-list, so arbitrary host paths can be bind-mounted read-write into the
container. The `username` field of the command file is likewise attacker-settable and is checked only
against non-root and minimum-uid rules, permitting execution as another tenant's uid.

Mitigation

Upgrade to 3.1.0, where the command file is validated before the ownership change and re-verified on open,
and where mount sources and destinations are constrained by configuration.

Users who cannot upgrade immediately should disable Docker and OCI worker isolation, or restrict topology
submission on affected supervisors to trusted principals. Note that the launcher must be rebuilt and
reinstalled after upgrading.

Credit

The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm.
Published: 2026-09-14
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Privilege Escalation to Root
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises when the setuid-root worker‑launcher first changes the ownership of the entire worker directory to an untrusted topology user and subsequently reads and executes a command file written by the supervisor. The file is opened without the O_NOFOLLOW flag and without re‑verifying its owner, creating a window during which an attacker can replace the file’s contents while it is owned by that user. The likely attack vector is a tenant who can submit a topology, as such a tenant can place a malicious command file in the directory between the ownership change and the read. In the Docker execution path the rewritten command is parsed and executed with real UID 0; the command sanitizer does not provide a privilege boundary and allows options such as –v, --device, --cap-add, --security‑opt, --user and –net, passing positional arguments verbatim. Consequently an attacker can launch a root‑equivalent container invocation with the host filesystem available. The OCI path has an equivalent race; the mount validation is structural only, permitting arbitrary host paths to be bind‑mounted read‑write into the container. The username field in the command file is also attacker‑settable and is only checked against non‑root and minimum‑uid rules, enabling execution as another tenant’s UID. This results in a tenant who can submit a topology being able to execute commands as root on the worker host, a classic example of a race condition (CWE‑367).

Affected Systems

All instances of the Apache Storm Worker Launcher that rely on the setuid-root worker‑launcher component are vulnerable. Versions deployed prior to the public release of 3.1.0 contain the race; the vendor recommends upgrading to 3.1.0 or later where command files are validated before the ownership change and source/destination mounts are constrained by configuration.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.8, indicating high severity. EPSS score is < 1%, and the issue is not listed in KEV; local access to the worker node or the ability to submit a topology is required, and network isolation alone does not mitigate the problem. The clear attack path and high impact make the priority for remediation high. The risk is compounded by the fact that the attacker can gain root privileges on the host, giving complete control over the system.

Generated by OpenCVE AI on September 21, 2026 at 00:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Apache Storm Worker Launcher to version 3.1.0 or newer.
  • Rebuild and reinstall the worker‑launcher after applying the upgrade to ensure the new validation logic is active.
  • If an upgrade cannot be performed immediately, disable Docker and OCI worker isolation or restrict topology submission to trusted principals until the installer is patched.

Generated by OpenCVE AI on September 21, 2026 at 00:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 14 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Description Description When launching a Docker or OCI worker, the setuid-root `worker-launcher` first changes ownership of the entire worker directory to the untrusted topology user, and only afterwards reads and acts on the command file that the supervisor wrote into that same directory. The file is opened without `O_NOFOLLOW` and without re-verifying its owner, so between the ownership change and the read the tenant can replace its contents. For the Docker path the parsed command is executed with real uid 0, and the command sanitiser is not a privilege boundary: it admits `-v` with an arbitrary source, `--device`, `--cap-add`, `--security-opt`, `--user` and `--net`, and copies positional arguments through verbatim. A rewritten file therefore yields an attacker-authored, root-equivalent container invocation with the host filesystem available. For the OCI path the same rewrite window applies, and mount validation is structural only, with no source or destination allow-list, so arbitrary host paths can be bind-mounted read-write into the container. The `username` field of the command file is likewise attacker-settable and is checked only against non-root and minimum-uid rules, permitting execution as another tenant's uid. Mitigation Upgrade to 3.1.0, where the command file is validated before the ownership change and re-verified on open, and where mount sources and destinations are constrained by configuration. Users who cannot upgrade immediately should disable Docker and OCI worker isolation, or restrict topology submission on affected supervisors to trusted principals. Note that the launcher must be rebuilt and reinstalled after upgrading. Credit The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm.
Title Apache Storm Worker Launcher: Local Privilege Escalation to Root via Container Command Files Chowned to the Tenant
Weaknesses CWE-367
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-14T20:00:53.152Z

Reserved: 2026-08-29T10:18:19.828Z

Link: CVE-2026-82430

cve-icon Vulnrichment

Updated: 2026-09-14T15:13:47.599Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T15:17:09.930

Modified: 2026-09-14T20:58:48.430

Link: CVE-2026-82430

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T00:30:06Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition