Loading advisory.
Loading advisory.
Cross-site WebSocket hijacking vulnerability in the Jenkins CLI
Jenkins has a built-in command line interface (CLI) to access Jenkins from a script or shell environment. Since Jenkins 2.217 and LTS 2.222.1, one of the ways to communicate with the CLI is through a WebSocket endpoint.
Published 2024-01-24 17:52 UTC · Modified 2026-08-07 08:12 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.jenkins-ci.main:jenkins-core | Maven | >= 2.217, < 2.426.3 >= 2.427, < 2.442 versions 2.217, 2.218, 2.219, 2.220, 2.221, 2.222, 2.222.1, 2.222.3, 2.222.4, 2.223, 2.224, 2.225, 2.226, 2.227, 2.228, 2.229, 2.230, 2.231, 2.232, 2.233 and 257 more | 2.426.3, 2.442 | No single command for Maven. Update to 2.426.3, 2.442 in your build file. |
Jenkins has a built-in command line interface (CLI) to access Jenkins from a script or shell environment. Since Jenkins 2.217 and LTS 2.222.1, one of the ways to communicate with the CLI is through a WebSocket endpoint. This endpoint relies on the default Jenkins web request authentication functionality, like HTTP Basic authentication with API tokens, or session cookies. This endpoint is enabled when running on a version of Jetty for which Jenkins supports WebSockets. This is the case when using the provided native installers, packages, or the Docker containers, as well as when running Jenkins with the command java -jar jenkins.war.
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.672 on 2026-11-24 to 0.044 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.672 | first score | v2026.06.15 |
| 2026-11-26 | 0.044 | 0.672 | v2026.06.15 |