CVE-2023-27902
Incorrect Permission Preservation in Jenkins Core
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.
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
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.3
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.
- Record
CVE-2023-27902- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
CVE List
4.3
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.
- Record
CVE-2023-27902- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
EUVDEUVD-2023-0984
4.3
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.
- Record
EUVD-2023-0984- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cj6r-8pxj-5jv6
4.3
Incorrect Permission Preservation in Jenkins Core
Jenkins uses temporary directories adjacent to workspace directories, usually with the @tmp name suffix, to store temporary files related to the build. In pipelines, these temporary directories are adjacent to the current working directory when operating in a subdirectory of the automatically allocated workspace. Jenkins-controlled processes, like SCMs, may store credentials in these directories.
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier, and prior to LTS 2.387.1 shows these temporary directories when viewing job workspaces, which allows attackers with Item/Workspace permission to access their contents.
Jenkins 2.394, LTS 2.375.4, and LTS 2.387.1 does not list these temporary directories in job workspaces.
As a workaround, do not grant Item/Workspace permission to users who lack Item/Configure permission, if you’re concerned about this issue but unable to immediately update Jenkins.
- Record
GHSA-cj6r-8pxj-5jv6- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSV
4.3
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.
- Record
CVE-2023-27902- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-cj6r-8pxj-5jv6
4.3
Incorrect Permission Preservation in Jenkins Core
Jenkins uses temporary directories adjacent to workspace directories, usually with the @tmp name suffix, to store temporary files related to the build. In pipelines, these temporary directories are adjacent to the current working directory when operating in a subdirectory of the automatically allocated workspace. Jenkins-controlled processes, like SCMs, may store credentials in these directories.
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier, and prior to LTS 2.387.1 shows these temporary directories when viewing job workspaces, which allows attackers with Item/Workspace permission to access their contents.
Jenkins 2.394, LTS 2.375.4, and LTS 2.387.1 does not list these temporary directories in job workspaces.
As a workaround, do not grant Item/Workspace permission to users who lack Item/Configure permission, if you’re concerned about this issue but unable to immediately update Jenkins.
- Record
GHSA-cj6r-8pxj-5jv6- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVRHSA-2023:3299
9.8
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
- Record
RHSA-2023:3299- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-jenkins-2023-27902 No score
Jenkins LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.
- Record
BIT-jenkins-2023-27902- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.main:jenkins-coreMaven |
before 2.375.4 | 2.375.4 |
org.jenkins-ci.main:jenkins-coreMaven |
2.376 up to 2.387.1 | 2.387.1 |
org.jenkins-ci.main:jenkins-coreMaven |
2.388 up to 2.394 | 2.394 |
jenkinsBitnami |
before 2.394.0 | 2.394.0 |
org.jenkins-ci.main:jenkins-coreMaven |
2.376 up to 2.387.1, plus listed versions 2.3772.3782.3792.3802.381 Show 6 moreShow less2.3822.3832.3842.3852.3862.387 |
2.387.1 |
org.jenkins-ci.main:jenkins-coreMaven |
before 2.375.4, 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.375.4 |
org.jenkins-ci.main:jenkins-coreMaven |
2.388 up to 2.394, plus listed versions 2.3892.3902.3912.3922.393 |
2.394 |
jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8 From an advisory covering 16 CVEs |
before 0:4.13.1684911916-1.el8 | 0:4.13.1684911916-1.el8 |
jenkinsRed Hat:ocp_tools:4.13::el8 From an advisory covering 16 CVEs |
before 0:2.387.3.1684911776-3.el8 | 0:2.387.3.1684911776-3.el8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-27902 is a medium vulnerability (CVSS 4.3) in Jenkins, published March 8, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.74%, the 55th percentile. Fixed in org.jenkins-ci.main:jenkins-core 2.375.4.
References
jenkins.io/security/advisory/2023-03-08
nvd.nist.gov/vuln/detail/CVE-2023-27902
github.com/CVEProject/cvelist/blob/master/2023/27xxx/CVE-2023-27902.json
github.com/jenkinsci/jenkins/commit/80452662b31ac6c9f4418cffae1af6af4daf479a
github.com/advisories/GHSA-cj6r-8pxj-5jv6
access.redhat.com/errata/RHSA-2023:3299
Show 75 moreShow less
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1856376
bugzilla.redhat.com/show_bug.cgi?id=2034388
bugzilla.redhat.com/show_bug.cgi?id=2087606
bugzilla.redhat.com/show_bug.cgi?id=2134291
bugzilla.redhat.com/show_bug.cgi?id=2134292
bugzilla.redhat.com/show_bug.cgi?id=2135435
bugzilla.redhat.com/show_bug.cgi?id=2164278
bugzilla.redhat.com/show_bug.cgi?id=2170039
bugzilla.redhat.com/show_bug.cgi?id=2170041
bugzilla.redhat.com/show_bug.cgi?id=2172298
bugzilla.redhat.com/show_bug.cgi?id=2177630
bugzilla.redhat.com/show_bug.cgi?id=2177634
bugzilla.redhat.com/show_bug.cgi?id=2177638
bugzilla.redhat.com/show_bug.cgi?id=2177646
bugzilla.redhat.com/show_bug.cgi?id=2185707
issues.redhat.com/browse/PITEAM-10
issues.redhat.com/browse/PITEAM-9
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3299.json
access.redhat.com/security/cve/CVE-2020-7692
cve.org/CVERecord?id=CVE-2020-7692
nvd.nist.gov/vuln/detail/CVE-2020-7692
access.redhat.com/security/cve/CVE-2021-4178
cve.org/CVERecord?id=CVE-2021-4178
nvd.nist.gov/vuln/detail/CVE-2021-4178
access.redhat.com/security/cve/CVE-2021-46877
cve.org/CVERecord?id=CVE-2021-46877
nvd.nist.gov/vuln/detail/CVE-2021-46877
access.redhat.com/security/cve/CVE-2022-22978
cve.org/CVERecord?id=CVE-2022-22978
nvd.nist.gov/vuln/detail/CVE-2022-22978
tanzu.vmware.com/security/cve-2022-22978
access.redhat.com/security/cve/CVE-2022-25647
bugzilla.redhat.com/show_bug.cgi?id=2080850
cve.org/CVERecord?id=CVE-2022-25647
nvd.nist.gov/vuln/detail/CVE-2022-25647
access.redhat.com/security/cve/CVE-2022-40151
cve.org/CVERecord?id=CVE-2022-40151
nvd.nist.gov/vuln/detail/CVE-2022-40151
access.redhat.com/security/cve/CVE-2022-40152
cve.org/CVERecord?id=CVE-2022-40152
nvd.nist.gov/vuln/detail/CVE-2022-40152
github.com/advisories/GHSA-3f7h-mf4q-vrm4
access.redhat.com/security/cve/CVE-2022-42889
cve.org/CVERecord?id=CVE-2022-42889
nvd.nist.gov/vuln/detail/CVE-2022-42889
blogs.apache.org/security/entry/cve-2022-42889
lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om
seclists.org/oss-sec/2022/q4/22
access.redhat.com/security/cve/CVE-2023-24422
cve.org/CVERecord?id=CVE-2023-24422
nvd.nist.gov/vuln/detail/CVE-2023-24422
jenkins.io/security/advisory/2023-01-24
access.redhat.com/security/cve/CVE-2023-24998
cve.org/CVERecord?id=CVE-2023-24998
nvd.nist.gov/vuln/detail/CVE-2023-24998
commons.apache.org/proper/commons-fileupload/security-reports.html
access.redhat.com/security/cve/CVE-2023-25761
cve.org/CVERecord?id=CVE-2023-25761
nvd.nist.gov/vuln/detail/CVE-2023-25761
jenkins.io/security/advisory/2023-02-15
access.redhat.com/security/cve/CVE-2023-25762
cve.org/CVERecord?id=CVE-2023-25762
nvd.nist.gov/vuln/detail/CVE-2023-25762
access.redhat.com/security/cve/CVE-2023-27900
cve.org/CVERecord?id=CVE-2023-27900
nvd.nist.gov/vuln/detail/CVE-2023-27900
access.redhat.com/security/cve/CVE-2023-27901
cve.org/CVERecord?id=CVE-2023-27901
nvd.nist.gov/vuln/detail/CVE-2023-27901
access.redhat.com/security/cve/CVE-2023-27902
cve.org/CVERecord?id=CVE-2023-27902
access.redhat.com/security/cve/CVE-2023-27904
cve.org/CVERecord?id=CVE-2023-27904
nvd.nist.gov/vuln/detail/CVE-2023-27904
Left out here: 744 versions. The JSON record has them.