CVE-2023-27899
Incorrect Authorization in Jenkins Core
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
- Record
CVE-2023-27899- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-863
- Updated
- 2026-11-02
CVE List
7.0
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
- Record
CVE-2023-27899- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2023-1031
7.0
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
- Record
EUVD-2023-1031- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hf9h-vv4m-2f33
7.0
Incorrect Authorization in Jenkins Core
Jenkins creates a temporary file when a plugin is uploaded from an administrator’s computer.
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier, and prior to LTS 2.387.1 creates this temporary file in the system temporary directory with the default permissions for newly created files.
If these permissions are overly permissive, they may allow attackers with access to the Jenkins controller file system to read and write the file before it is installed in Jenkins, potentially resulting in arbitrary code execution.
This vulnerability only affects operating systems using a shared temporary directory for all users (typically Linux). Additionally, the default permissions for newly created files generally only allows attackers to read the temporary file. Jenkins 2.394, LTS 2.375.4, and LTS 2.387.1 creates the temporary file with more restrictive permissions.
As a workaround, you can set a different path as your default temporary directory using the Java system property java.io.tmpdir, if you’re concerned about this issue but unable to immediately update Jenkins.
- Record
GHSA-hf9h-vv4m-2f33- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV
7.0
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
- Record
CVE-2023-27899- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-hf9h-vv4m-2f33
7.0
Incorrect Authorization in Jenkins Core
Jenkins creates a temporary file when a plugin is uploaded from an administrator’s computer.
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier, and prior to LTS 2.387.1 creates this temporary file in the system temporary directory with the default permissions for newly created files.
If these permissions are overly permissive, they may allow attackers with access to the Jenkins controller file system to read and write the file before it is installed in Jenkins, potentially resulting in arbitrary code execution.
This vulnerability only affects operating systems using a shared temporary directory for all users (typically Linux). Additionally, the default permissions for newly created files generally only allows attackers to read the temporary file. Jenkins 2.394, LTS 2.375.4, and LTS 2.387.1 creates the temporary file with more restrictive permissions.
As a workaround, you can set a different path as your default temporary directory using the Java system property java.io.tmpdir, if you’re concerned about this issue but unable to immediately update Jenkins.
- Record
GHSA-hf9h-vv4m-2f33- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-863
- Updated
- 2026-11-02
OSVRHSA-2023:1655
9.8
Red Hat Security Advisory: OpenShift Container Platform 4.10.56 security update
- Record
RHSA-2023:1655- 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
OSVRHSA-2023:3663
8.8
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
- Record
RHSA-2023:3663- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-jenkins-2023-27899 No score
Jenkins LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
- Record
BIT-jenkins-2023-27899- 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 |
openshiftRed Hat:openshift:4.10::el7 From an advisory covering 10 CVEs |
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 |
openshift-hyperkubeRed Hat:openshift:4.10::el7 From an advisory covering 10 CVEs |
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 |
openshiftRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8 | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openshift-hyperkubeRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8 | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8 |
jenkinsRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:2.387.1.1680701869-1.el8 | 0:2.387.1.1680701869-1.el8 |
jenkins-2-pluginsRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:4.10.1680703106-1.el8 | 0:4.10.1680703106-1.el8 |
haproxyRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:2.2.19-4.el8 | 0:2.2.19-4.el8 |
haproxy-debugsourceRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:2.2.19-4.el8 | 0:2.2.19-4.el8 |
haproxy22Red Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:2.2.19-4.el8 | 0:2.2.19-4.el8 |
haproxy22-debuginfoRed Hat:openshift:4.10::el8 From an advisory covering 10 CVEs |
before 0:2.2.19-4.el8 | 0:2.2.19-4.el8 |
jenkinsRed Hat:ocp_tools:4.11::el8 From an advisory covering 17 CVEs |
before 0:2.401.1.1686831596-3.el8 | 0:2.401.1.1686831596-3.el8 |
jenkins-2-pluginsRed Hat:ocp_tools:4.11::el8 From an advisory covering 17 CVEs |
before 0:4.11.1686831822-1.el8 | 0:4.11.1686831822-1.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-27899 is a high vulnerability (CVSS 7.0) 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.23%, the 14th 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-27899
github.com/CVEProject/cvelist/blob/master/2023/27xxx/CVE-2023-27899.json
github.com/jenkinsci/jenkins/commit/f39c11fa27b14923260c4c9b896f0f373e2a0a17
github.com/advisories/GHSA-hf9h-vv4m-2f33
access.redhat.com/errata/RHSA-2023:1655
Show 115 moreShow less
access.redhat.com/security/updates/classification
docs.openshift.com/container-platform/4.10/release_notes/ocp-4-10-release-notes.html
bugzilla.redhat.com/show_bug.cgi?id=2127804
bugzilla.redhat.com/show_bug.cgi?id=2135435
bugzilla.redhat.com/show_bug.cgi?id=2162200
bugzilla.redhat.com/show_bug.cgi?id=2162206
bugzilla.redhat.com/show_bug.cgi?id=2164278
bugzilla.redhat.com/show_bug.cgi?id=2177626
bugzilla.redhat.com/show_bug.cgi?id=2177629
bugzilla.redhat.com/show_bug.cgi?id=2177632
bugzilla.redhat.com/show_bug.cgi?id=2177634
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1655.json
access.redhat.com/security/cve/CVE-2022-3172
cve.org/CVERecord?id=CVE-2022-3172
nvd.nist.gov/vuln/detail/CVE-2022-3172
github.com/kubernetes/kubernetes/issues/112513
access.redhat.com/security/cve/CVE-2022-31690
cve.org/CVERecord?id=CVE-2022-31690
nvd.nist.gov/vuln/detail/CVE-2022-31690
spring.io/security/cve-2022-31690
access.redhat.com/security/cve/CVE-2022-31692
cve.org/CVERecord?id=CVE-2022-31692
nvd.nist.gov/vuln/detail/CVE-2022-31692
spring.io/security/cve-2022-31692
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-25725
bugzilla.redhat.com/show_bug.cgi?id=2169089
cve.org/CVERecord?id=CVE-2023-25725
nvd.nist.gov/vuln/detail/CVE-2023-25725
haproxy.com/blog/february-2023-header-parser-fixed
mail-archive.com/[email protected]/msg43229.html
access.redhat.com/security/cve/CVE-2023-27898
cve.org/CVERecord?id=CVE-2023-27898
nvd.nist.gov/vuln/detail/CVE-2023-27898
access.redhat.com/security/cve/CVE-2023-27899
cve.org/CVERecord?id=CVE-2023-27899
access.redhat.com/security/cve/CVE-2023-27903
cve.org/CVERecord?id=CVE-2023-27903
nvd.nist.gov/vuln/detail/CVE-2023-27903
access.redhat.com/security/cve/CVE-2023-27904
cve.org/CVERecord?id=CVE-2023-27904
nvd.nist.gov/vuln/detail/CVE-2023-27904
access.redhat.com/errata/RHSA-2023:3663
bugzilla.redhat.com/show_bug.cgi?id=2087214
bugzilla.redhat.com/show_bug.cgi?id=2116952
bugzilla.redhat.com/show_bug.cgi?id=2135244
bugzilla.redhat.com/show_bug.cgi?id=2135247
bugzilla.redhat.com/show_bug.cgi?id=2135770
bugzilla.redhat.com/show_bug.cgi?id=2135771
bugzilla.redhat.com/show_bug.cgi?id=2170431
bugzilla.redhat.com/show_bug.cgi?id=2180528
bugzilla.redhat.com/show_bug.cgi?id=2182788
bugzilla.redhat.com/show_bug.cgi?id=2182864
bugzilla.redhat.com/show_bug.cgi?id=2188542
bugzilla.redhat.com/show_bug.cgi?id=2207830
bugzilla.redhat.com/show_bug.cgi?id=2207835
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3663.json
access.redhat.com/security/cve/CVE-2022-2048
cve.org/CVERecord?id=CVE-2022-2048
nvd.nist.gov/vuln/detail/CVE-2022-2048
github.com/eclipse/jetty.project/security/advisories/GHSA-wgmr-mf83-7x4j
access.redhat.com/security/cve/CVE-2022-22976
cve.org/CVERecord?id=CVE-2022-22976
nvd.nist.gov/vuln/detail/CVE-2022-22976
tanzu.vmware.com/security/cve-2022-22976
access.redhat.com/security/cve/CVE-2022-40149
cve.org/CVERecord?id=CVE-2022-40149
nvd.nist.gov/vuln/detail/CVE-2022-40149
github.com/jettison-json/jettison/releases/tag/jettison-1.5.1
access.redhat.com/security/cve/CVE-2022-40150
cve.org/CVERecord?id=CVE-2022-40150
nvd.nist.gov/vuln/detail/CVE-2022-40150
access.redhat.com/security/cve/CVE-2022-41966
cve.org/CVERecord?id=CVE-2022-41966
nvd.nist.gov/vuln/detail/CVE-2022-41966
github.com/x-stream/xstream/security/advisories/GHSA-j563-grx4-pjpv
access.redhat.com/security/cve/CVE-2022-42003
cve.org/CVERecord?id=CVE-2022-42003
nvd.nist.gov/vuln/detail/CVE-2022-42003
access.redhat.com/security/cve/CVE-2022-42004
cve.org/CVERecord?id=CVE-2022-42004
nvd.nist.gov/vuln/detail/CVE-2022-42004
access.redhat.com/security/cve/CVE-2023-1370
cve.org/CVERecord?id=CVE-2023-1370
nvd.nist.gov/vuln/detail/CVE-2023-1370
github.com/advisories/GHSA-493p-pfq6-5258
research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633
access.redhat.com/security/cve/CVE-2023-1436
cve.org/CVERecord?id=CVE-2023-1436
nvd.nist.gov/vuln/detail/CVE-2023-1436
research.jfrog.com/vulnerabilities/jettison-json-array-dos-xray-427911
access.redhat.com/security/cve/CVE-2023-20860
cve.org/CVERecord?id=CVE-2023-20860
nvd.nist.gov/vuln/detail/CVE-2023-20860
spring.io/blog/2023/03/20/spring-framework-6-0-7-and-5-3-26-fix-cve-2023-20860-and-cve-2023-20861
access.redhat.com/security/cve/CVE-2023-26464
cve.org/CVERecord?id=CVE-2023-26464
nvd.nist.gov/vuln/detail/CVE-2023-26464
ibm.com/support/pages/security-bulletin-vulnerability-log4j-1216jar-affect-ibm-operations-analytics-log-analysis-cve-2023-26464
access.redhat.com/security/cve/CVE-2023-32977
cve.org/CVERecord?id=CVE-2023-32977
nvd.nist.gov/vuln/detail/CVE-2023-32977
jenkins.io/security/advisory/2023-05-16
access.redhat.com/security/cve/CVE-2023-32981
cve.org/CVERecord?id=CVE-2023-32981
nvd.nist.gov/vuln/detail/CVE-2023-32981
Left out here: 744 versions. The JSON record has them.