CVE-2021-21687Jenkins
Critical 9.1 No auth needed
Follow: this CVE · Jenkins · Jenkins We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Nov 4, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-862
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not check agent-to-controller access to create symbolic links when unarchiving a symbolic link in FilePath#untar.
What to do
- Apply the vendor's security update for Jenkins.
- 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.main:jenkins-core |
< 2.303.3 |
2.303.3 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.304 < 2.319 |
2.319 |
— |
Per OSV / GitHub Advisories (GHSA-3q84-vrvx-rfvf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | jenkins | < 2.303.3 |
| jenkins | jenkins | < 2.319 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory