What’s Vulnerable › Vulnerabilities
CVE-2021-21696
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-11-04 · updated 2026-06-17
Description
Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not limit agent read/write access to the libs/ directory inside build directories when using the FilePath APIs, allowing attackers in control of agent processes to replace the code of a trusted library with a modified variant. This results in unsandboxed code execution in the Jenkins controller process.
Affected products
- Jenkins: through 2.303.2; through 2.318
References
- http://www.openwall.com/lists/oss-security/2021/11/04/3
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423
- http://www.openwall.com/lists/oss-security/2021/11/04/3
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423
Get alerted when CVE-2021-21696 or the next vulnerability affects your stack