All vulnerabilities

Servers and applications

CVE-2018-6356

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…

Severity
Medium 6.5
Published
20 Feb 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.89.4, 2.107
Exploit chance
3.9% in the next 30 daysHigher than 90% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
JenkinsServers and applications · cpe:a:jenkins:jenkins
  • Every version before 2.107
  • Every version before 2.89.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-6356
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-6356