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

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- 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.43%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-11-04T16:30:27.000Z
- Modified: 2026-09-08T08:47:58.209Z
- Also known as: GHSA-3q84-vrvx-rfvf, BIT-JENKINS-2021-21687
- Weaknesses: CWE-862
- Assigned by: jenkins

## Description

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.

(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.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- 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-21687> (advisory, web)
- <https://github.com/jenkinsci/jenkins> (package)

## Sources

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

---

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