CVE-2025-67639
Java vulnerability analysis and mitigation

Overview

CVE-2025-67639 is a Cross-Site Request Forgery (CSRF) vulnerability in the Jenkins login form, tracked as SECURITY-1166. It affects Jenkins weekly versions 2.540 and earlier, and LTS versions 2.528.2 and earlier, allowing attackers to trick authenticated users into logging in to the attacker's account. The vulnerability was disclosed on December 10, 2025, as part of a broader Jenkins security advisory. It carries a CVSS v3.1 base score of 3.5 (Low) (Jenkins Advisory, GitHub Advisory).

Technical details

The root cause is classified as CWE-352 (Cross-Site Request Forgery): Jenkins does not require a CSRF token (crumb) for the URL that handles interactive login HTTP requests. Because the login endpoint lacks CSRF protection, an attacker can craft a malicious web page or link that, when visited by a logged-in or active-session user, submits a login request on their behalf — effectively forcing the victim to authenticate into the attacker's account (a "login CSRF" or account fixation scenario). Exploitation requires the attacker to have a low-privilege account on the Jenkins instance and requires user interaction (the victim must visit a crafted page) (Jenkins Advisory, GitHub Advisory).

Impact

Successful exploitation allows an attacker to force a victim user to be logged into the attacker's Jenkins account, potentially exposing any actions the victim performs (such as triggering builds, accessing credentials, or viewing sensitive pipeline data) under the attacker's session context. The primary impact is a limited confidentiality exposure, as the victim's subsequent interactions with Jenkins may inadvertently reveal information to the attacker. Integrity and availability are not directly impacted by this vulnerability (Jenkins Advisory, GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify a target Jenkins instance running version 2.540 or earlier (weekly) or 2.528.2 or earlier (LTS) that is accessible over the network.
  2. Obtain attacker account: Register or use an existing low-privilege account on the target Jenkins instance to obtain valid attacker credentials.
  3. Craft malicious login request: Create an HTML page or link containing a form or script that automatically submits a POST request to the Jenkins login endpoint (e.g., /j_spring_security_check) with the attacker's username and password, without a CSRF token.
  4. Deliver to victim: Trick the target user (e.g., via phishing email or malicious link) into visiting the crafted page while they have an active browser session.
  5. Session fixation achieved: The victim's browser submits the login request, logging them into the attacker's account. Any subsequent actions the victim takes on Jenkins (viewing credentials, triggering builds) are performed under the attacker's account context, potentially exposing sensitive information to the attacker (Jenkins Advisory).

Indicators of compromise

  • Logs: Jenkins access logs showing POST requests to /j_spring_security_check without a valid CSRF crumb/token parameter, especially from unexpected or external IP addresses.
  • Logs: Authentication log entries showing a user account switching sessions unexpectedly, or the same account logging in from multiple distinct IP addresses in a short timeframe.
  • Network: Unusual cross-origin POST requests to the Jenkins login endpoint originating from non-Jenkins domains or external referrers visible in HTTP access logs.

Mitigation and workarounds

Jenkins has released fixed versions that validate CSRF tokens when processing login requests: Jenkins weekly 2.541 and Jenkins LTS 2.528.3. Administrators should upgrade to these versions as the primary remediation. As a temporary workaround if upgrading is not immediately possible, administrators can disable the security fix by setting the system property hudson.security.AuthenticationProcessingFilter2.skipCSRFCheck=true, though this is not recommended for production environments. Restricting access to the Jenkins login page to trusted networks can also reduce exposure (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-p279-2cqp-84jgCRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesJul 24, 2026
GHSA-fp43-vj7g-pg92HIGH7.5
  • Java logoJava
  • org.omnifaces:omnifaces
NoYesJul 24, 2026
GHSA-7ppr-r889-mcf2HIGH7.5
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.12
NoYesJul 24, 2026
GHSA-mhvj-jhpq-885vHIGH7.4
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.13
NoYesJul 24, 2026
GHSA-46q4-43ph-c6frHIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.12
NoYesJul 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management