CVE-2022-25173

HIGH

Jenkins Pipeline: Groovy Plugin < 2648.va9433432b33c - OS Command Injection via SCM Content

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-25173. PoCs published by shoucheng3.

AI-analyzed exploit summary This repository contains a proof-of-concept exploit for CVE-2022-25173, targeting the Jenkins Pipeline: Groovy Plugin. The exploit leverages a sandbox bypass vulnerability to achieve remote code execution (RCE) on affected Jenkins instances.

Description

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

Exploits (1)

nomisec WORKING POC
by shoucheng3 · poc
https://github.com/shoucheng3/jenkinsci__workflow-cps-plugin_CVE-2022-25173_2646-v6ed3b5b01ff1

This repository contains a proof-of-concept exploit for CVE-2022-25173, targeting the Jenkins Pipeline: Groovy Plugin. The exploit leverages a sandbox bypass vulnerability to achieve remote code execution (RCE) on affected Jenkins instances.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Jenkins Pipeline: Groovy Plugin (workflow-cps-plugin)
Auth required
Prerequisites: Access to a Jenkins instance with the vulnerable plugin installed · Valid credentials or an alternative authentication bypass
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2022/02/15/2

Scores

CVSS v3 8.8
EPSS 0.0018
EPSS Percentile 40.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (2)
jenkins/pipeline\ < 2648.va9433432b33c
org.jenkins-ci.plugins.workflow/workflow-cps 2646.v6ed3b5b01ff1 - 2656.vf7aMaven
Published Feb 15, 2022
Tracked Since Feb 18, 2026