Every CVE Search/ Get API key

CVE-2023-27899

Incorrect Authorization in Jenkins Core

7.0 HighFix available

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

0.23%Up 0.2 points since Mar 9, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 CriticalCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
org.jenkins-ci.main:jenkins-core
Maven
before 2.375.4
2.375.4
org.jenkins-ci.main:jenkins-core
Maven
2.376 up to 2.387.1
2.387.1
org.jenkins-ci.main:jenkins-core
Maven
2.388 up to 2.394
2.394
jenkins
Bitnami
before 2.394.0
2.394.0
org.jenkins-ci.main:jenkins-core
Maven
2.376 up to 2.387.1, plus listed versions
2.3772.3782.3792.3802.381
Show 6 moreShow less
2.3822.3832.3842.3852.3862.387
2.387.1
org.jenkins-ci.main:jenkins-core
Maven
before 2.375.4, plus listed versions
1.3961.3971.3981.3991.400
Show 45 moreShow less
1.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-core
Maven
2.388 up to 2.394, plus listed versions
2.3892.3902.3912.3922.393
2.394
openshift
Red 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-hyperkube
Red 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
Red 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
Affected packages
PackageAffectedFixed
openshift-hyperkube
Red 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
jenkins
Red 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-plugins
Red Hat:openshift:4.10::el8
From an advisory covering 10 CVEs
before 0:4.10.1680703106-1.el8
0:4.10.1680703106-1.el8
haproxy
Red 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-debugsource
Red 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
Red 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-debuginfo
Red Hat:openshift:4.10::el8
From an advisory covering 10 CVEs
before 0:2.2.19-4.el8
0:2.2.19-4.el8
jenkins
Red 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-plugins
Red 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

History
RecordedChangedSources
affected, facts
first indexedCVE 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

Show 115 moreShow less
This page doesn't list everything

Left out here: 744 versions. The JSON record has them.

MoveEnter Open