CVE-2021-21683Jenkins
Medium 6.5
Follow: this CVE · Jenkins · Jenkins We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- Yes
- Published
- Oct 6, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
The file browser in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.
What to do
- Apply the vendor's security update for Jenkins.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core |
< 2.303.2 |
2.303.2 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.304 < 2.315 |
2.315 |
— |
Per OSV / GitHub Advisories (GHSA-4pw5-r58h-fv24). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | jenkins | ≤ 2.303.1 |
| jenkins | jenkins | ≤ 2.314 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.jenkins.io Vendor Advisory