The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-20612

CVE-2022-20612: Jenkins CSRF Vulnerability

CVE-2022-20612 is a cross-site request forgery flaw in Jenkins that allows attackers to trigger unauthorized builds when no security realm is set. This article covers the technical details, affected versions, and remediation.

Published: February 17, 2026

CVE-2022-20612 Overview

A cross-site request forgery (CSRF) vulnerability exists in Jenkins 2.329 and earlier, as well as LTS 2.319.1 and earlier. This vulnerability allows attackers to trigger builds of jobs without parameters when no security realm is configured. The flaw stems from insufficient CSRF token validation in the Jenkins build trigger mechanism, enabling malicious actors to craft requests that execute unauthorized actions on behalf of authenticated users.

Critical Impact

Attackers can manipulate Jenkins instances without configured security realms to trigger unauthorized job builds, potentially leading to malicious code execution in CI/CD pipelines, unauthorized deployments, or resource exhaustion.

Affected Products

  • Jenkins versions 2.329 and earlier
  • Jenkins LTS versions 2.319.1 and earlier
  • Oracle Communications Cloud Native Core Automated Test Suite 1.9.0

Discovery Timeline

  • 2022-01-12 - CVE-2022-20612 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-20612

Vulnerability Analysis

This vulnerability is classified as Cross-Site Request Forgery (CWE-352), a web application security flaw that allows attackers to induce users to perform actions they did not intend. In the context of Jenkins, the vulnerability specifically affects the job build triggering mechanism when the Jenkins instance operates without a security realm configured.

The attack requires user interaction, specifically that an authenticated user visits a malicious page while having an active session with the vulnerable Jenkins instance. The attacker cannot directly compromise confidentiality or availability, but can manipulate the integrity of the Jenkins system by triggering unauthorized builds.

Root Cause

The root cause of this vulnerability lies in the insufficient validation of CSRF tokens for build trigger requests in Jenkins. When no security realm is configured, Jenkins does not properly enforce CSRF protection for certain endpoints responsible for initiating job builds. This oversight allows external websites to craft malicious requests that the browser will automatically authenticate using the victim's existing session cookies.

Attack Vector

The attack vector is network-based and requires the victim to interact with attacker-controlled content. The exploitation scenario involves:

  1. An attacker identifies a Jenkins instance running a vulnerable version without a security realm configured
  2. The attacker crafts a malicious webpage containing hidden forms or JavaScript that targets the Jenkins build trigger endpoints
  3. When an authenticated Jenkins user visits the malicious page, their browser automatically sends the forged request to Jenkins
  4. Jenkins processes the request as legitimate, triggering job builds without proper authorization verification

The vulnerability does not require attacker privileges on the Jenkins instance, and the low attack complexity makes it accessible to unsophisticated attackers. However, user interaction is required for successful exploitation.

Detection Methods for CVE-2022-20612

Indicators of Compromise

  • Unexpected job builds appearing in Jenkins build history without corresponding user activity
  • Build trigger events originating from unusual referrer URLs or external sources
  • Authentication logs showing sessions with build activity but no preceding user navigation within Jenkins
  • Unusual patterns of parameterless job executions, particularly during off-hours

Detection Strategies

  • Monitor Jenkins access logs for POST requests to build trigger endpoints with external or suspicious Referer headers
  • Implement alerting for job builds initiated without corresponding authenticated user sessions in the Jenkins UI
  • Review Jenkins audit logs for build activities that lack expected user interaction patterns
  • Deploy web application firewalls (WAF) with CSRF detection capabilities in front of Jenkins instances

Monitoring Recommendations

  • Enable comprehensive audit logging in Jenkins to capture all build trigger events and their origins
  • Configure security monitoring tools to alert on builds triggered from external referrers
  • Implement network monitoring to detect suspicious traffic patterns targeting Jenkins endpoints
  • Regularly review build histories for anomalies that could indicate CSRF exploitation attempts

How to Mitigate CVE-2022-20612

Immediate Actions Required

  • Upgrade Jenkins to version 2.330 or later (or LTS 2.319.2 or later) immediately
  • Configure a security realm in Jenkins if one is not already enabled
  • Review recent build history for any unauthorized or suspicious job executions
  • Enable CSRF protection explicitly in Jenkins security configuration
  • Audit all Jenkins instances within the organization for vulnerable versions

Patch Information

Jenkins has released security updates addressing this vulnerability. Organizations should upgrade to Jenkins 2.330 or later for the weekly release line, or LTS 2.319.2 or later for the Long-Term Support release line. For Oracle Communications Cloud Native Core Automated Test Suite users, refer to the Oracle Critical Patch Update April 2022 for patching guidance.

Detailed information about the fix is available in the Jenkins Security Advisory 2022-01-12.

Workarounds

  • Configure a security realm in Jenkins to enable proper authentication and CSRF protection
  • Restrict network access to Jenkins instances using firewall rules to limit exposure
  • Implement reverse proxy configurations that validate Referer and Origin headers for state-changing requests
  • Consider using Jenkins behind a VPN to reduce the attack surface for external CSRF attacks
bash
# Example: Verify Jenkins version and check security realm configuration
# Check current Jenkins version
java -jar jenkins-cli.jar -s http://your-jenkins-url/ version

# Ensure CSRF protection is enabled in Jenkins configuration
# Navigate to: Manage Jenkins > Configure Global Security
# Verify "Prevent Cross Site Request Forgery exploits" is checked

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechJenkins

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Technical References
  • OpenWall OSS-Security Update
  • Vendor Resources
  • Jenkins Security Advisory 2022-01-12

  • Oracle Critical Patch Update April 2022
  • Related CVEs
  • CVE-2025-24398: Jenkins Bitbucket Server Integration CSRF

  • CVE-2023-35141: Jenkins CSRF Vulnerability

  • CVE-2026-33004: Jenkins LoadNinja Information Disclosure

  • CVE-2026-33002: Jenkins Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English