High
Security advisory
A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-25181
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:07 UTC · Revision 1
Source evidence
A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.
osv:CVE-2022-25181
Complete source record
{
"id": "ed322c797ec71eadd4d5b276ac1f7b7978765ba87f4685bde4c631205c80ed5d",
"url": "https://osv.dev/vulnerability/CVE-2022-25181",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-25181",
"summary": "A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.",
"evidence": "osv:CVE-2022-25181",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-25181",
"aliases": [
"CVE-2022-25181",
"GHSA-7w2w-fwpf-9m4h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d9cc05b8a2e175852b6fb5b5689333f88c837945"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jenkins:pipeline\\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "552.vd9cc05b8a2e1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"552.vd9cc05b8a2e1",
"548.v9085a486966a",
"545.v7b28cce323cf",
"544.vff04fa68714d",
"workflow-cps-global-lib-2.21",
"workflow-cps-global-lib-2.20",
"workflow-cps-global-lib-2.19",
"workflow-cps-global-lib-2.18",
"workflow-cps-global-lib-2.17",
"workflow-cps-global-lib-2.16",
"workflow-cps-global-lib-2.15",
"workflow-cps-global-lib-2.14",
"workflow-cps-global-lib-2.13",
"workflow-cps-global-lib-2.12",
"workflow-cps-global-lib-2.11",
"workflow-cps-global-lib-2.10",
"workflow-cps-global-lib-2.9",
"workflow-cps-global-lib-2.8",
"workflow-cps-global-lib-2.7",
"workflow-cps-global-lib-2.6",
"workflow-cps-global-lib-2.5",
"workflow-cps-global-lib-2.4",
"workflow-cps-global-lib-2.3",
"workflow-cps-global-lib-2.2",
"workflow-cps-global-lib-2.1",
"workflow-cps-global-lib-2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25181.json"
}
}
],
"modified": "2026-10-24T10:30:48.753884912Z",
"provider": "osv",
"references": [
"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2441"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2022-25181",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436843,
"published_at": "2022-02-15T17:15:09.047+00:00"
}