CVE-2018-6356 json
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
published 2018-02-20 8 y ago modified 2026-06-17 4 mo ago also GHSA-5p59-v5wm-77v4 , EUVD-2022-2623
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
Jenkins before 2.107 and Jenkins LTS before 2.89.4 did not properly prevent specifying relative paths that escape a base directory for URLs accessing plugin resource files. This allowed users with Overall/Read permission to download files from the Jenkins master they should not have access to. On Windows, any file accessible to the Jenkins master process could be downloaded. On other operating systems, any file within the Jenkins home directory accessible to the Jenkins master process could be downloaded.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.89.4, 2.107
- jenkins jenkins 2.89.4, 2.107
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6356 updated cvss 6.5
jenkins: Path traversal allows access to files outside plugin resources
-
Red Hat OpenShift Enterprise 3 jenkinsaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.85% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | <2.89.4 >=2.90, <2.107 |
2.89.4 2.107 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
github.com
/jenkinsci/jenkins/commit/9de62915807deab61d6e780eed660428f9889b51
web
-
github.com
/jenkinsci/jenkins/commit/eb03a42078f29dbed3742b8740c95e02890e4545
web
-
jenkins.io
/security/advisory/2018-02-14/
vendor-advisory
-
openwall.com
/lists/oss-security/2018/02/14/1
mailing-list, web, third-party-advisory
-
securityfocus.com
/bid/103037
vdb-entry, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2018-6356
advisory
-
github.com
/jenkinsci/jenkins
web
-
jenkins.io
/security/advisory/2018-02-14
web
-
web.archive.org
/web/20200227130607/http://www.securityfocus.com/bid/103037
web
Sources
- CVE List CVE-2018-6356
- GitHub Advisory GHSA-5p59-v5wm-77v4
- NVD CVE-2018-6356
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.