CVE-2024-23898
HighCross-site WebSocket hijacking vulnerability in the Jenkins CLI
Published Jan 24, 2024 · Updated Sep 8, 2026 · Also known as BIT-jenkins-2024-23898, GHSA-53ph-2r2x-vqw8
Key Facts
Patch immediately- CVE-2024-23898 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Jenkins, org.jenkins-ci.main:jenkins-core (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 67% probability of exploitation in the next 30 days.
- Fixed versions are available, including Jenkins 0:2.426.3.1706516254-3.el8, Jenkins 2.452.1, Jenkins <=2.426.2.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
67%
Higher than 99.2% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2024-23898 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on the Jenkins controller.
Affected Products
16 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| JenkinsJenkins | >= 2.217.0 | 2.441 |
| org.jenkins-ci.main:jenkins-coremaven | >= 2.217 | 2.442 |
Patched Releases
Jenkins
0:2.426.3.1706516254-3.el8, 2.452.1, <=2.426.2, <=2.441
org.jenkins-ci.main:jenkins-core
2.426.3, 2.442
Timeline
Publicly disclosed
Jan 24, 2024
Last updated
Sep 8, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-346 Origin Validation Error
References
- advisoryRHSA-2024:0775
- advisoryRHSA-2024:0776
- advisoryRHSA-2024:0778
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-23898
FAQ
Common Questions.
Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on the Jenkins controller.
Affected: Jenkins versions >= 2.217.0; org.jenkins-ci.main:jenkins-core (maven) versions >= 2.217. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Jenkins 0:2.426.3.1706516254-3.el8, Jenkins 2.452.1, Jenkins <=2.426.2.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-23898 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo