BreachSpiderVerified, not vibes

CVE-2024-23898 in Jenkins

High 8.8

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS4.4%
EPSS percentile92th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Jenkins Jenkins ≥ 2.217, ≤ 2.441

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-23898
BreachSpider IDBS-2024-GLOBAL-052632-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2024-01-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-346: CWE-346

Related attack patterns (CAPEC)

CAPEC-59 Session Credential Falsification through Prediction via CWE-346

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-346

CAPEC-76 Manipulating Web Input to File System Calls via CWE-346

CAPEC-142 DNS Cache Poisoning via CWE-346

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-346

Show all 16

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-346

CAPEC-388 Application API Button Hijacking via CWE-346

CAPEC-75 Manipulating Writeable Configuration Files via CWE-346

CAPEC-89 Pharming via CWE-346

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-346

CAPEC-141 Cache Poisoning via CWE-346

CAPEC-160 Exploit Script-Based APIs via CWE-346

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-346

CAPEC-386 Application API Navigation Remapping via CWE-346

CAPEC-510 SaaS User Request Forgery via CWE-346

CAPEC-21 Exploitation of Trusted Identifiers via CWE-346

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Jenkins versions 2.217 through 2.441 and LTS 2.222.1 through 2.426.2 are vulnerable to a cross-site WebSocket hijacking (CSWSH) vulnerability due to a lack of origin validation on the CLI WebSocket endpoint, allowing attackers to execute CLI commands on the Jenkins controller.

The vulnerability arises from Jenkins not validating the origin of WebSocket requests made through the CLI WebSocket endpoint. An attacker can exploit this by tricking a user into visiting a malicious website that establishes a WebSocket connection to the Jenkins server, enabling the attacker to execute arbitrary CLI commands with the user's privileges.

Questions

What is CVE-2024-23898?

Jenkins versions 2.217 through 2.441 and LTS 2.222.1 through 2.426.2 are vulnerable to a cross-site WebSocket hijacking (CSWSH) vulnerability due to a lack of origin validation on the CLI WebSocket endpoint, allowing attackers to execute CLI commands on the Jenkins controller.

What is the CVSS score for CVE-2024-23898?

CVE-2024-23898 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 4.4%.

Is CVE-2024-23898 actively exploited?

No confirmed active exploitation of CVE-2024-23898 as of 2026-09-25.

How do I remediate CVE-2024-23898?

Priority: IMMEDIATE. Advisory: https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315 PSIRT: [email protected]

What systems are affected by CVE-2024-23898?

CVE-2024-23898 affects Jenkins Jenkins.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Jenkins","product":"Jenkins","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.