CVE-2021-21696: Jenkins

Critical severity, CVSS 9.8. EPSS: 2.4% chance of exploitation in the next 30 days.

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 Jenkins: up to and including 2.303.2; up to and including 2.318

Published 2021-11-04. Last modified 2026-06-17.