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-20617

CVE-2022-20617: Jenkins Docker Commons RCE Vulnerability

CVE-2022-20617 is a remote code execution vulnerability in Jenkins Docker Commons Plugin that allows attackers to execute OS commands through unsanitized image names. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-20617 Overview

CVE-2022-20617 is an OS command injection vulnerability in the Jenkins Docker Commons Plugin version 1.17 and earlier. The vulnerability exists because the plugin does not properly sanitize the name of a Docker image or tag, allowing attackers to inject arbitrary OS commands. This vulnerability can be exploited by attackers who have Item/Configure permission or those who can control the contents of a previously configured job's SCM repository.

Critical Impact

Successful exploitation allows attackers to execute arbitrary operating system commands on the Jenkins server, potentially leading to complete system compromise, data exfiltration, or lateral movement within the network.

Affected Products

  • Jenkins Docker Commons Plugin version 1.17 and earlier

Discovery Timeline

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

Technical Details for CVE-2022-20617

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The Jenkins Docker Commons Plugin is designed to facilitate Docker operations within Jenkins pipelines and jobs. When processing Docker image names or tags, the plugin fails to adequately sanitize user-supplied input before incorporating it into system commands.

The flaw enables authenticated attackers with relatively low privileges (Item/Configure permission) to inject malicious commands through specially crafted Docker image names or tags. These injected commands execute with the privileges of the Jenkins process, which often runs with elevated permissions in enterprise environments.

Root Cause

The root cause of CVE-2022-20617 lies in the inadequate input validation within the Docker Commons Plugin. When the plugin constructs OS commands involving Docker image names or tags, it directly concatenates user-controlled input without proper sanitization or escaping. This allows shell metacharacters and command separators to be interpreted by the underlying operating system shell, enabling command injection attacks.

Attack Vector

The vulnerability is exploitable over the network by authenticated users with Item/Configure permission. An attacker can craft a malicious Docker image name or tag containing shell metacharacters (such as ;, |, $(), or backticks) that, when processed by the plugin, result in the execution of arbitrary commands on the Jenkins server.

Additionally, attackers who can manipulate the contents of a job's SCM repository (such as a Git repository) can inject malicious image names through configuration files stored in version control, potentially achieving code execution without direct Jenkins UI access.

The vulnerability mechanism involves unsanitized Docker image or tag names being passed to shell commands. When malicious input containing command separators or substitution syntax is processed, the injected commands execute with Jenkins process privileges. Technical details are available in the Jenkins Security Advisory #SECURITY-1878.

Detection Methods for CVE-2022-20617

Indicators of Compromise

  • Unusual command execution patterns originating from the Jenkins process
  • Docker image names or tags in job configurations containing shell metacharacters such as ;, |, &&, $(), or backticks
  • Unexpected processes spawned as children of the Jenkins Java process
  • Suspicious entries in Jenkins job build logs showing malformed Docker image references

Detection Strategies

  • Monitor Jenkins audit logs for configuration changes to Docker-related job settings
  • Implement file integrity monitoring on Jenkins configuration files to detect unauthorized modifications
  • Deploy endpoint detection and response (EDR) solutions to identify anomalous process execution patterns from Jenkins
  • Review SCM repository contents for malicious Jenkinsfile or Docker configuration entries

Monitoring Recommendations

  • Enable verbose logging for the Docker Commons Plugin to capture image name processing details
  • Configure alerts for shell command execution anomalies on Jenkins servers
  • Implement network monitoring to detect unusual outbound connections from Jenkins infrastructure
  • Regularly audit user permissions, particularly Item/Configure access grants

How to Mitigate CVE-2022-20617

Immediate Actions Required

  • Upgrade Jenkins Docker Commons Plugin to version 1.18 or later immediately
  • Review all existing job configurations for suspicious Docker image names or tags
  • Audit users with Item/Configure permissions and apply principle of least privilege
  • Temporarily disable Docker-related jobs if immediate patching is not possible

Patch Information

Jenkins has released a security update addressing this vulnerability. Organizations should upgrade to Docker Commons Plugin version 1.18 or later, which implements proper input sanitization for Docker image names and tags. The fix ensures that user-supplied values are properly escaped before being used in OS commands.

For detailed patch information, refer to the Jenkins Security Advisory #SECURITY-1878 and the Openwall Mailing List Post.

Workarounds

  • Restrict Item/Configure permissions to only trusted administrators until the patch can be applied
  • Implement strict access controls on SCM repositories used by Jenkins jobs
  • Use Jenkins folder-level permissions to isolate Docker-related jobs from less-trusted users
  • Consider implementing a Jenkins agent architecture to limit the blast radius of potential exploitation
bash
# Configuration example: Restricting plugin usage until patched
# In Jenkins Script Console, disable the vulnerable plugin temporarily
Jenkins.instance.pluginManager.getPlugin('docker-commons')?.disable()

# Verify current Docker Commons Plugin version
Jenkins.instance.pluginManager.getPlugin('docker-commons')?.getVersion()

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJenkins

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.74%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Vendor Resources
  • Openwall Mailing List Post

  • Jenkins Security Advisory #SECURITY-1878
  • Related CVEs
  • CVE-2025-53652: Jenkins Git Parameter RCE Vulnerability

  • CVE-2025-31722: Jenkins Templating Engine RCE Vulnerability

  • CVE-2023-27899: Jenkins RCE Vulnerability via File Upload

  • CVE-2021-21696: Jenkins RCE Vulnerability via Agent Access
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