# CVE-2021-21694: Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-11-04T16:30:38.000Z
- Modified: 2026-09-08T08:47:57.749Z
- Also known as: GHSA-pgj6-jmj5-wqfx, BIT-JENKINS-2021-21694
- Weaknesses: CWE-862
- Assigned by: jenkins

## Description

FilePath#toURI, FilePath#hasSymlink, FilePath#absolutize, FilePath#isDescendant, and FilePath#get*DiskSpace do not check any permissions in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: from unspecified up to 2.318; from unspecified up to LTS 2.303.2
- org.jenkins-ci.main:jenkins-core (Maven): before 2.303.3; from 2.304 before 2.319
- jenkins jenkins: before 2.303.3; before 2.319
- jenkins (Bitnami): before 2.319.0

## Every score

- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21694> (advisory, web)
- <https://github.com/jenkinsci/jenkins/commit/104c751d907919dd53f5090f84d53c671a66457b> (web)
- <https://github.com/jenkinsci/jenkins/commit/5a245e42979abe4a26d41727c839521e36cedd74> (web)
- <https://github.com/jenkinsci/jenkins/commit/63cde2daadc705edf086f2213b48c8c547f98358> (web)

## Sources

- CVE List: [CVE-2021-21694](https://www.cve.org/CVERecord?id=CVE-2021-21694), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pgj6-jmj5-wqfx](https://github.com/advisories/GHSA-pgj6-jmj5-wqfx), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21694](https://nvd.nist.gov/vuln/detail/CVE-2021-21694), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JENKINS-2021-21694](https://osv.dev/vulnerability/BIT-JENKINS-2021-21694), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21694 · Whole record: https://cve.day/CVE-2021-21694.json · Rebuilt by cve.day 2026-11-25T22:58:05.355Z
