CVE-2023-27899
highpriority · track · 28OT risk · elevatedEPSS 0.002 · 14 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.4–7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
- Red Hat OpenShift container platform 4.10all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_4.10
- Maven org.jenkins-ci.main:jenkins-core2.376 → 2.387.1osvUSpkg:maven/org.jenkins-ci.main/jenkins-core
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-0609Jenkins: Mehrere SchwachstellenDeutsch2023-03-08csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, einen Cross-Site-Scripting-Angriff durchzuführen und Code auszuführen
- GHSA-hf9h-vv4m-2f33Incorrect Authorization in Jenkins Core2023-03-10ghsa · osvUS
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.
- BIT-jenkins-2023-278992024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2023-27899cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-27899/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.1468cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.2133cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.3483cnnvd
- https://www.jenkins.io/security/advisory/2023-03-08/Patchcnnvd
- https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-2823cnnvd
- https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-2823enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan