Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/external-workspace-manager

PACKAGE
Advisory Identifier: GHSA-hrmj-8fm9-cg8x
Advisory Summary

CVE-2026-57296 is a HIGH (CVSS 8.8) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting External workspace manager libraries in the Maven ecosystem. The issue involves jenkins external workspace manager plugin has a path traversal vulnerability. Remediation is available by upgrading affected packages to version 1.4.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/external-workspace-manager

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/external-workspace-manager. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-hrmj-8fm9-cg8x CVE-2026-57296 HIGH Jenkins External Workspace Manager Plugin has a path traversal vulnerability

CVE-2026-57296 at a Glance

CVE Identifier CVE-2026-57296
GHSA Identifier GHSA-hrmj-8fm9-cg8x
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product External workspace manager
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-57296

To remediate this vulnerability, upgrade all affected External workspace manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.jenkins-ci.plugins:external-workspace-manager fixed: 1.4.0
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>external-workspace-manager</artifactId>
    <version>1.4.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-57296, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

Analyze the terminal output to locate any version of External workspace manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In External workspace manager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-57296 Affected External workspace manager Versions

1 component(s)
Fixed Versions:
1.4.0
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:external-workspace-manager
Maven
< 1.4.0
1.4.0

References

Frequently Asked Questions

What is CVE-2026-57296?
CVE-2026-57296 is a security vulnerability in External workspace manager involving Jenkins External Workspace Manager Plugin has a path traversal vulnerability under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which External workspace manager versions are affected?
Affected versions include releases prior to 1.4.0 across affected packages: org.jenkins-ci.plugins:external-workspace-manager.
What version fixes CVE-2026-57296?
Upgrading to 1.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is external-workspace-manager affected?
Yes, org.jenkins-ci.plugins:external-workspace-manager is affected in releases prior to 1.4.0. Upgrade your dependency to 1.4.0 or later.
What is the CVSS score of CVE-2026-57296?
CVE-2026-57296 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-57296?
CVE-2026-57296 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Maven dependencies for CVE-2026-57296?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.plugins'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hrmj-8fm9-cg8x",
  "modified" : "2026-09-25T19:00:23Z",
  "published" : "2026-06-24T15:31:47Z",
  "aliases" : [ "CVE-2026-57296" ],
  "summary" : "Jenkins External Workspace Manager Plugin has a path traversal vulnerability",
  "details" : "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.\n\nThis 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).\n\nExternal 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:external-workspace-manager"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-57296"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/external-workspace-manager-plugin/commit/2fccbbd398cf209f5931b48e006659dbee86ddf2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/external-workspace-manager-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/external-workspace-manager-plugin/releases/tag/external-workspace-manager-1.4.0"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3777"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-25T19:00:23Z",
    "nvd_published_at" : "2026-06-24T14:17:35Z"
  }
}