CVE-2018-1000997
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
- Record
CVE-2018-1000997- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
- Record
CVE-2018-1000997- Updated
- 2026-11-02
EUVDEUVD-2022-2595 No score
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
- Record
EUVD-2022-2595- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5hfp-964w-5vgm
6.5
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
- Record
GHSA-5hfp-964w-5vgm- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
6.5
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
- Record
CVE-2018-1000997- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-5hfp-964w-5vgm
6.5
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
- Record
GHSA-5hfp-964w-5vgm- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVRHBA-2018:3743
6.5
Red Hat Bug Fix Advisory: OpenShift Container Platform 3.11 bug fix and enhancement update
- Record
RHBA-2018:3743- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.main:jenkins-coreMaven |
through 2.138.1 | 2.138.2 |
org.jenkins-ci.main:jenkins-coreMaven |
2.140 to 2.145 | 2.146 |
org.kohsuke.stapler:stapler-parentMaven |
before 1.250.2 | 1.250.2 |
org.jenkins-ci.main:jenkins-coreMaven |
before 2.138.2, plus listed versions 1.3961.3971.3981.3991.400 Show 45 moreShow less1.4011.4031.4041.4051.4061.4071.4081.4091.409.11.409.21.409.31.4101.4111.4121.4131.4141.4151.4161.4171.4181.4191.4201.4211.4221.4231.4241.424.11.424.21.424.31.424.41.424.51.424.61.4251.4261.4271.4281.4291.4301.4311.4321.4331.4341.4351.4361.437 |
2.138.2 |
org.jenkins-ci.main:jenkins-coreMaven |
2.140 up to 2.146, plus listed versions 2.1412.1422.1432.1442.145 |
2.146 |
org.kohsuke.stapler:stapler-parentMaven |
before 1.250.2, plus listed versions 1.1001.1011.1021.1031.104 Show 45 moreShow less1.1051.1061.1071.1081.1091.1101.1111.1121.1131.1141.1151.1161.1171.1181.1191.1201.1211.1221.1231.1241.1251.1261.1271.1281.1291.1301.1311.1321.1331.1341.1351.1361.1371.1381.1391.1401.1411.1421.1431.1441.1451.1461.1471.1481.149 |
1.250.2 |
atomic-enterprise-service-catalogRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 1:3.11.51-1.git.1671.2d16650.el7 | 1:3.11.51-1.git.1671.2d16650.el7 |
atomic-enterprise-service-catalog-svcatRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 1:3.11.51-1.git.1671.2d16650.el7 | 1:3.11.51-1.git.1671.2d16650.el7 |
atomic-openshiftRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-clientsRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
Show 40 moreShow less
| Package | Affected | Fixed |
|---|---|---|
atomic-openshift-clients-redistributableRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-cluster-autoscalerRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.0aa9fc2.el7 | 0:3.11.51-1.git.0.0aa9fc2.el7 |
atomic-openshift-deschedulerRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.300.89070e8.el7 | 0:3.11.51-1.git.300.89070e8.el7 |
atomic-openshift-docker-excluderRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-dockerregistryRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.446.d29ce0e.el7 | 0:3.11.51-1.git.446.d29ce0e.el7 |
atomic-openshift-excluderRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-hyperkubeRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-hypershiftRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-masterRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-metrics-serverRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.52.03e3a91.el7 | 0:3.11.51-1.git.52.03e3a91.el7 |
atomic-openshift-nodeRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-node-problem-detectorRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.254.22189b0.el7 | 0:3.11.51-1.git.254.22189b0.el7 |
atomic-openshift-podRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-sdn-ovsRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-service-idlerRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.14.813574a.el7 | 0:3.11.51-1.git.14.813574a.el7 |
atomic-openshift-template-service-brokerRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-testsRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.1560686.el7 | 0:3.11.51-1.git.0.1560686.el7 |
atomic-openshift-web-consoleRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.324.0ae64ed.el7 | 0:3.11.51-1.git.324.0ae64ed.el7 |
cri-oRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:1.11.10-1.rhaos3.11.git42c86f0.el7 | 0:1.11.10-1.rhaos3.11.git42c86f0.el7 |
cri-o-debuginfoRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:1.11.10-1.rhaos3.11.git42c86f0.el7 | 0:1.11.10-1.rhaos3.11.git42c86f0.el7 |
golang-github-openshift-oauth-proxyRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.419.1af74df.el7 | 0:3.11.51-1.git.419.1af74df.el7 |
golang-github-prometheus-alertmanagerRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.50a0687.el7 | 0:3.11.51-1.git.0.50a0687.el7 |
golang-github-prometheus-node_exporterRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.1063.12dd8be.el7 | 0:3.11.51-1.git.1063.12dd8be.el7 |
golang-github-prometheus-prometheusRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.5023.0ad933c.el7 | 0:3.11.51-1.git.5023.0ad933c.el7 |
jenkinsRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:2.138.2.1542054911-1.el7 | 0:2.138.2.1542054911-1.el7 |
jenkins-2-pluginsRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.1542061886-1.el7 | 0:3.11.1542061886-1.el7 |
kibanaRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:5.6.13-1.el7 | 0:5.6.13-1.el7 |
kibana-debuginfoRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:5.6.13-1.el7 | 0:5.6.13-1.el7 |
openshift-ansibleRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-2.git.0.51c90a3.el7 | 0:3.11.51-2.git.0.51c90a3.el7 |
openshift-ansible-docsRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-2.git.0.51c90a3.el7 | 0:3.11.51-2.git.0.51c90a3.el7 |
openshift-ansible-playbooksRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-2.git.0.51c90a3.el7 | 0:3.11.51-2.git.0.51c90a3.el7 |
openshift-ansible-rolesRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-2.git.0.51c90a3.el7 | 0:3.11.51-2.git.0.51c90a3.el7 |
openshift-ansible-testRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-2.git.0.51c90a3.el7 | 0:3.11.51-2.git.0.51c90a3.el7 |
openshift-enterprise-autohealRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.219.8ea4275.el7 | 0:3.11.51-1.git.219.8ea4275.el7 |
openshift-enterprise-cluster-capacityRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.380.ffa21af.el7 | 0:3.11.51-1.git.380.ffa21af.el7 |
openshift-monitor-project-lifecycleRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.59.7b59e29.el7 | 0:3.11.51-1.git.59.7b59e29.el7 |
openshift-monitor-sample-appRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.5.f6d0188.el7 | 0:3.11.51-1.git.5.f6d0188.el7 |
prometheusRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.5023.0ad933c.el7 | 0:3.11.51-1.git.5023.0ad933c.el7 |
prometheus-alertmanagerRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.0.50a0687.el7 | 0:3.11.51-1.git.0.50a0687.el7 |
prometheus-node-exporterRed Hat:openshift:3.11::el7 From an advisory covering 8 CVEs |
before 0:3.11.51-1.git.1063.12dd8be.el7 | 0:3.11.51-1.git.1063.12dd8be.el7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1000997 is a medium vulnerability (CVSS 6.5) in Jenkins, published January 23, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.26%, the 88th percentile. Fixed in org.jenkins-ci.main:jenkins-core 2.138.2.
References
jenkins.io/security/advisory/2018-10-10
nvd.nist.gov/vuln/detail/CVE-2018-1000997
github.com/jenkinsci/jenkins/commit/fd5f5be0304c6bf1918892b81e2efb6b6d09c521
github.com/jenkinsci/stapler/commit/0dfc28aa2102a59638484fc11c4c53b1dbb2baf0
github.com/advisories/GHSA-5hfp-964w-5vgm
github.com/jenkinsci/jenkins
Show 48 moreShow less
access.redhat.com/errata/RHBA-2018:3743
bugzilla.redhat.com/show_bug.cgi?id=1614155
bugzilla.redhat.com/show_bug.cgi?id=1630324
bugzilla.redhat.com/show_bug.cgi?id=1635804
bugzilla.redhat.com/show_bug.cgi?id=1639655
bugzilla.redhat.com/show_bug.cgi?id=1640078
bugzilla.redhat.com/show_bug.cgi?id=1640497
bugzilla.redhat.com/show_bug.cgi?id=1640746
bugzilla.redhat.com/show_bug.cgi?id=1642361
bugzilla.redhat.com/show_bug.cgi?id=1645258
bugzilla.redhat.com/show_bug.cgi?id=1647516
bugzilla.redhat.com/show_bug.cgi?id=1649062
bugzilla.redhat.com/show_bug.cgi?id=1649997
bugzilla.redhat.com/show_bug.cgi?id=1650129
security.access.redhat.com/data/csaf/v2/advisories/2018/rhba-2018_3743.json
access.redhat.com/security/cve/CVE-2018-17246
bugzilla.redhat.com/show_bug.cgi?id=1647344
cve.org/CVERecord?id=CVE-2018-17246
nvd.nist.gov/vuln/detail/CVE-2018-17246
elastic.co/community/security
access.redhat.com/security/cve/CVE-2018-1000406
bugzilla.redhat.com/show_bug.cgi?id=1642877
cve.org/CVERecord?id=CVE-2018-1000406
nvd.nist.gov/vuln/detail/CVE-2018-1000406
access.redhat.com/security/cve/CVE-2018-1000407
bugzilla.redhat.com/show_bug.cgi?id=1642879
cve.org/CVERecord?id=CVE-2018-1000407
nvd.nist.gov/vuln/detail/CVE-2018-1000407
access.redhat.com/security/cve/CVE-2018-1000408
bugzilla.redhat.com/show_bug.cgi?id=1642884
cve.org/CVERecord?id=CVE-2018-1000408
nvd.nist.gov/vuln/detail/CVE-2018-1000408
access.redhat.com/security/cve/CVE-2018-1000409
bugzilla.redhat.com/show_bug.cgi?id=1642885
cve.org/CVERecord?id=CVE-2018-1000409
nvd.nist.gov/vuln/detail/CVE-2018-1000409
access.redhat.com/security/cve/CVE-2018-1000410
bugzilla.redhat.com/show_bug.cgi?id=1642892
cve.org/CVERecord?id=CVE-2018-1000410
nvd.nist.gov/vuln/detail/CVE-2018-1000410
access.redhat.com/security/cve/CVE-2018-1000997
bugzilla.redhat.com/show_bug.cgi?id=1642876
cve.org/CVERecord?id=CVE-2018-1000997
access.redhat.com/security/cve/CVE-2018-1999043
bugzilla.redhat.com/show_bug.cgi?id=1620342
cve.org/CVERecord?id=CVE-2018-1999043
nvd.nist.gov/vuln/detail/CVE-2018-1999043
jenkins.io/security/advisory/2018-08-15
Left out here: 548 versions. The JSON record has them.