CVE-2022-34181 in Jenkins Xunit
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 re...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Xunit | ≤ 3.0.8 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-34181 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-320979-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2022-06-23 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
Jenkins xUnit Plugin versions 3.0.8 and earlier are vulnerable to an arbitrary directory creation and test result file parsing issue, which can be exploited by attackers controlling agent processes.
Attackers can create a user-specified directory on the Jenkins controller or obtain test results from existing files in an attacker-specified directory by controlling agent processes.
Questions
What is CVE-2022-34181?
Jenkins xUnit Plugin versions 3.0.8 and earlier are vulnerable to an arbitrary directory creation and test result file parsing issue, which can be exploited by attackers controlling agent processes.
What is the CVSS score for CVE-2022-34181?
CVE-2022-34181 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 1.1%.
Is CVE-2022-34181 actively exploited?
No confirmed active exploitation of CVE-2022-34181 as of 2026-09-25.
How do I remediate CVE-2022-34181?
Priority: IMMEDIATE. Advisory: https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2549 PSIRT: [email protected]
What systems are affected by CVE-2022-34181?
CVE-2022-34181 affects Jenkins Xunit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Jenkins","product":"Xunit","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.