CVE-2022-34181Jenkins Xunit
Critical 9.1 No auth needed
Follow: this CVE · Jenkins · Jenkins Xunit We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- No
- Published
- Jun 23, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Xunit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins:xunit |
< 3.1.0 |
3.1.0 |
— |
Per OSV / GitHub Advisories (GHSA-298j-9q4w-6rm4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | xunit | ≤ 3.0.8 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory