CVE-2026-57296

Path Traversal in Jenkins External Workspace Manager Plugin Enables Arbitrary File Read and Remote Code Execution

Published Jun 24, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Jenkins External Workspace Manager Plugin 1.3.2 and earlier does not reject path traversal sequences in the custom workspace path provided to the exwsAllocate Pipeline step, allowing attackers with Item/Configure permission to read arbitrary files on the Jenkins controller file system, which can lead to remote code execution.

Analysis

AI-generated

Technical impact

The Jenkins External Workspace Manager Plugin contains a path traversal flaw in the exwsAllocate Pipeline step. Attackers who possess Item/Configure permissions can supply custom workspace paths that include traversal sequences. The plugin does not reject these sequences, enabling the reading of arbitrary files on the Jenkins controller. In the worst case, this can lead to remote code execution by exposing sensitive configuration or executable binaries.

Affected Systems

All releases of the Jenkins External Workspace Manager Plugin up to and including version 1.3.2 are affected. The vulnerability is present in the plugin and affects pipelines that invoke the exwsAllocate step for users with Item/Configure permissions.

Risk and Exploitability

The flaw allows a local attacker with sufficient permissions to read arbitrary files on the Jenkins controller. The EPSS score is not available, and the vulnerability is not listed in KEV, indicating that widespread exploitation has not yet been observed. The CVSS score for this vulnerability is 8.8, inferred that the potential for remote code execution, coupled with the plugin's widespread use, suggests a likely high risk. Crafting the malicious workspace path is straightforward, and no additional exploitation conditions are required beyond the listed permission level. Consequently, the vulnerability warrants urgent attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Jenkins External Workspace Manager Plugin to the latest version provided by the Jenkins Project.
  • Restrict Item/Configure permissions for users running pipelines that use exwsAllocate to only trusted personnel, removing the permission from untrusted users.
  • Audit existing pipelines for custom workspace paths and validate or sanitize any inputs that could be exploited for path traversal.

Generated by OpenCVE AI on June 24, 2026 at 20:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hrmj-8fm9-cg8x Jenkins External Workspace Manager Plugin has a path traversal vulnerability
History
Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins External Workspace Manager Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins External Workspace Manager Plugin
Type Values Removed Values Added
Title Path Traversal in Jenkins External Workspace Manager Plugin Enables Arbitrary File Read and Remote Code Execution
Type Values Removed Values Added
Title Path Traversal in Jenkins External Workspace Manager Plugin Exposes Controller Files
Weaknesses CWE-200
Type Values Removed Values Added
Title Path Traversal in Jenkins External Workspace Manager Plugin Exposes Controller Files
Weaknesses CWE-200
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/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'}

Type Values Removed Values Added
Description Jenkins External Workspace Manager Plugin 1.3.2 and earlier does not reject path traversal sequences in the custom workspace path provided to the exwsAllocate Pipeline step, allowing attackers with Item/Configure permission to read arbitrary files on the Jenkins controller file system, which can lead to remote code execution.
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Jun 24, 2026, 2:37 PM
Reserved
Jun 24, 2026, 8:41 AM
Status
Deferred
Published
Jun 24, 2026, 2:17 PM
Modified
Oct 25, 2026, 10:10 PM