Jenkins External Workspace Manager Plugin has a path traversal vulnerability
What fixes it
- 1.4.0org.jenkins-ci.plugins:external-workspace-manager, mavenGitHub
<dependency><groupId>org.jenkins-ci.plugins</groupId><artifactId>external-workspace-manager</artifactId><version>1.4.0</version></dependency> - 1.4.0org.jenkins-ci.plugins:external-workspace-manager, MavenOSV
<dependency><groupId>org.jenkins-ci.plugins</groupId><artifactId>external-workspace-manager</artifactId><version>1.4.0</version></dependency>
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Jenkins External Workspace Manager Plugin 1.3.2 and earlier does not reject .. path segments when validating the custom workspace path provided to the exwsAllocate Pipeline step, allowing the resulting workspace path to escape the configured disk mount point.
This allows attackers with Item/Configure permission to read arbitrary files on the Jenkins controller file system, which can lead to remote code execution (see Reading Files).
External Workspace Manager Plugin 1.4.0 rejects .. path segments when validating the custom workspace path, and additionally verifies that the requested path is contained within the configured disk mount point before serving it through the external workspace browse functionality.
Text from GitHub Advisory Database
Affected versions 16
- org.jenkins-ci.plugins:external-workspace-manager, maven< 1.4.0GitHub
- Jenkins External Workspace Manager Pluginaffected: all versions through 1.3.2CVE List
- org.jenkins-ci.plugins:external-workspace-manager, Mavenfrom first release, fixed in 1.4.0OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.0-alpha-1OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.0-beta-1OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.0.0OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.1.0OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.1.1OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.1.2OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.2.0OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.2.1OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.2.2OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.2.3OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.3.0OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.3.1OSV
- org.jenkins-ci.plugins:external-workspace-manager, Maven1.3.2OSV
References 5
- github.com/jenkinsci/external-workspace-manager-plugin/commit/2fccbbd398cf209f5931b48e006659dbee86ddf2Fixvia GitHub
- github.com/jenkinsci/external-workspace-manager-plugin/releases/tag/external-workspace-manager-1.4.0Fixvia GitHub
- jenkins.io/security/advisory/2026-06-24/#SECURITY-3777Advisoryvia CVE List
- github.com/advisories/GHSA-hrmj-8fm9-cg8xAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-57296Referencevia GitHub