Security advisory
Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-34181
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:16 UTC · Revision 1
Source evidence
Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.
osv:CVE-2022-34181
Complete source record
{
"id": "363b5be355011cc74e268e3881402d560193f4e6592f28fc705db985963dde9f",
"url": "https://osv.dev/vulnerability/CVE-2022-34181",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-34181",
"summary": "Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.",
"evidence": "osv:CVE-2022-34181",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-34181",
"aliases": [
"CVE-2022-34181",
"GHSA-298j-9q4w-6rm4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jenkinsci/xunit-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "76af0fcfa61f5456953c2517a7c47bf258c7cde8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jenkins:xunit:*:*:*:*:*:jenkins:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.0.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"xunit-3.0.8",
"xunit-3.0.7",
"xunit-3.0.6",
"xunit-3.0.5",
"xunit-3.0.4",
"xunit-3.0.3",
"xunit-3.0.2",
"xunit-3.0.1",
"xunit-3.0.0",
"xunit-2.4.0",
"xunit-2.3.10",
"xunit-2.3.9",
"xunit-2.3.8",
"xunit-2.3.7",
"xunit-2.3.6",
"xunit-2.3.5",
"xunit-2.3.4",
"xunit-2.3.3",
"xunit-2.3.2",
"xunit-2.3.1",
"xunit-2.3.0",
"xunit-2.2.5",
"xunit-2.2.4",
"xunit-1.102",
"xunit-1.101",
"xunit-1.100",
"xunit-1.99",
"xunit-1.98",
"xunit-1.97",
"xunit-1.96",
"xunit-1.95",
"xunit-1.94",
"xunit-1.93",
"xunit-1.92",
"xunit-1.91",
"xunit-1.90",
"xunit-1.89",
"xunit-1.88",
"xunit-1.87",
"xunit-1.86",
"xunit-1.85",
"xunit-1.84",
"xunit-1.83",
"xunit-1.82",
"xunit-1.81",
"xunit-1.80",
"xunit-1.79",
"xunit-1.78",
"xunit-1.77",
"xunit-1.76",
"xunit-1.75",
"xunit-1.74",
"xunit-1.73",
"xunit-1.72",
"xunit-1.71",
"xunit-1.70",
"xunit-1.69",
"xunit-1.68",
"xunit-1.67",
"xunit-1.66",
"xunit-1.65",
"xunit-1.64",
"xunit-1.63",
"xunit-1.62",
"xunit-1.61",
"xunit-1.60",
"xunit-1.59",
"xunit-1.58",
"xunit-1.57",
"xunit-1.56",
"xunit-1.55",
"xunit-1.54",
"xunit-1.53",
"xunit-1.52",
"xunit-1.51",
"xunit-1.48",
"xunit-1.47",
"xunit-1.46",
"xunit-1.45",
"xunit-1.44",
"xunit-1.43",
"xunit-1.42",
"xunit-1.41",
"xunit-1.40",
"xunit-1.39",
"xunit-1.38",
"xunit-1.37",
"xunit-1.36",
"xunit-1.34",
"xunit-1.33",
"xunit-1.32",
"xunit-1.31",
"xunit-1.30",
"xunit-1.29",
"xunit-1.28",
"xunit-1.27",
"xunit-1.26.1",
"xunit-1.26",
"xunit-1.25",
"xunit-1.24",
"xunit-1.23",
"xunit-1.22",
"xunit-1.21",
"xunit-1.20",
"xunit-1.19",
"xunit-1.18",
"xunit-1.17",
"xunit-1.16.2",
"xunit-1.16.1",
"xunit-1.16",
"xunit-1.15"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34181.json"
}
}
],
"modified": "2026-10-24T10:30:37.533816092Z",
"provider": "osv",
"references": [
"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2549"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2022-34181",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 434243,
"published_at": "2022-06-23T17:15:15.923+00:00"
}