CVE-2018-6356
MEDIUM 6.5CVSS 3.1Improper Limitation of a Pathname to a Restricted Directory in Jenkins
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.
- Published
- 20 Feb 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-5p59-v5wm-77v4
- Sources
- NVDJSONOSV GHSA-5p59-v5wm-77v4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:* |
< 2.107 | 2.107 |
| NVD | jenkins | jenkinscpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* |
< 2.89.4 | 2.89.4 |
| NVD | oracle | communications_cloud_native_core_automated_test_suitecpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | < 2.89.4 | 2.89.4 |
| OSV | Maven | org.jenkins-ci.main:jenkins-core | >= 2.90, < 2.107 | 2.107 |
References
- http://www.openwall.com/lists/oss-security/2018/02/14/1 · Mailing List, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/103037 · Broken Link, VDB Entry
- https://jenkins.io/security/advisory/2018-02-14/ · Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-6356 · ADVISORY
- https://github.com/jenkinsci/jenkins/commit/9de62915807deab61d6e780eed660428f9889b51 · WEB
- https://github.com/jenkinsci/jenkins/commit/eb03a42078f29dbed3742b8740c95e02890e4545 · WEB
- https://github.com/jenkinsci/jenkins · WEB
- https://web.archive.org/web/20200227130607/http://www.securityfocus.com/bid/103037 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 20 Feb 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)