CVE-2022-34181
CRITICAL 9.1CVSS 3.1Agent-to-controller security bypass in Jenkins xUnit Plugin
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.
- Published
- 23 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-693
- Also known as
- GHSA-298j-9q4w-6rm4
- Sources
- NVDJSONOSV GHSA-298j-9q4w-6rm4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | xunitcpe:2.3:a:jenkins:xunit:*:*:*:*:*:jenkins:*:* |
<= 3.0.8 | |
| OSV | Maven | org.jenkins-ci.plugins:xunit | < 3.1.0 | 3.1.0 |
References
- https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2549 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-34181 · ADVISORY
- https://github.com/jenkinsci/xunit-plugin/commit/6976b5da114845a7936ea36d5783a65cd91f9897 · WEB
- https://github.com/jenkinsci/xunit-plugin · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Jun 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Jun 2022)