CVE-2020-2160
Java vulnerability analysis and mitigation

Overview

Jenkins 2.227 and earlier, LTS 2.204.5 and earlier contained a Cross-Site Request Forgery (CSRF) vulnerability identified as CVE-2020-2160. The vulnerability was discovered by Nick Collisson from Gemini Trust Company, LLC. and was publicly disclosed on March 25, 2020. The vulnerability affected the core Jenkins server and allowed attackers to bypass CSRF protection for any target URL (Jenkins Advisory, NVD).

Technical details

The vulnerability stems from an extension point in Jenkins that allows selective disabling of CSRF protection for specific URLs. The issue arose because implementations of this extension point received a different representation of the URL path than the Stapler web framework uses to dispatch requests. This discrepancy in path representation allowed attackers to craft URLs that could bypass the CSRF protection of any target URL. The vulnerability has a CVSS v3.1 Base Score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (Jenkins Advisory, NVD).

Impact

The vulnerability could allow attackers to bypass CSRF protection mechanisms for any target URL within Jenkins. This could potentially lead to unauthorized actions being performed on behalf of authenticated users, compromising the security of the Jenkins installation (Jenkins Advisory).

Mitigation and workarounds

The vulnerability was fixed in Jenkins weekly version 2.228 and LTS versions 2.204.6 and 2.222.1. The fix ensures Jenkins uses the same representation of the URL path to decide whether CSRF protection is needed as the Stapler web framework uses. As an additional safeguard, semicolon characters in the path part of a URL are now banned by default. Administrators can disable this security fix by setting the system property hudson.security.csrf.CrumbFilter.UNPROCESSED_PATHINFO to true, or disable the semicolon protection using jenkins.security.SuspiciousRequestFilter.allowSemicolonsInPath (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

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 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