VDB

CVE-2024-23898

CVE-2024-23898 PUBLISHED CVSS 8.8 HIGH

Cross-site WebSocket hijacking vulnerability in the Jenkins CLI

Reported by jenkins · Published January 24, 2024

jenkins-core is fixed in 2.442, 2.427 and 2.426.3 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.jenkins-ci.main:jenkins-coreMaven Central2.442, 2.427, 2.426.3
jenkinsAlpine2.426.3-r0
jenkinsBitnami2.452.1
jenkinsjenkins2.441, 2.426.2
jenkinsBitnami2.452.1
JenkinsJenkins Project2.217

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Jenkins ProjectJenkins0, 2.442, 2.426.3
Mavenorg.jenkins-ci.main:jenkins-core2.222.1
alpinejenkins0
chainguardjenkins-2.440*
Jenkins ProjectJenkins2.440.1, 0, 2.442

Timeline

  • Jan 24, 2024 CVE Published
  • Jan 24, 2024 PoC Published (7 in total, the first dated here)
  • Jan 31, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Jun 20, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (8 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-23898
vulnetix vdb fixes CVE-2024-23898

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23898/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›