# CVE-2021-21696

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-11-04 · Modified: 2024-08-03
- Aliases: GHSA-c5r9-rx53-q3gf, BIT-jenkins-2021-21696
- Record: https://cvemate.com/vulnerability/CVE-2021-21696 · JSON: https://cvemate.com/vulnerability/CVE-2021-21696/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.397%, percentile 84.551%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- jenkins project jenkins: ≥ unspecified, ≤ 2.318 \| ≥ unspecified, ≤ LTS 2.303.2
- jenkins jenkins: ≤ 2.303.2 \| ≤ 2.318
- org.jenkins-ci.main jenkins-core (Maven): \< 2.303.3 \| ≥ 2.304, \< 2.319

## References

- <https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423>
- <http://www.openwall.com/lists/oss-security/2021/11/04/3>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21696>
- <https://github.com/jenkinsci/jenkins/commit/93451e20c20cfd84badeb0f37c38d4c0c7a5dad3>
- <https://github.com/jenkinsci/jenkins>

---

Data as of 2026-12-05T12:30:59.842Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
