# CVE-2021-21615: Time-of-check Time-of-use (TOCTOU) Race Condition in Jenkins

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/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): 0.91%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-01-26T10:55:13.000Z
- Modified: 2026-09-08T08:47:57.678Z
- Also known as: GHSA-qxp6-27gw-99cj, BIT-JENKINS-2021-21615
- Weaknesses: CWE-367
- Assigned by: jenkins

## Description

Jenkins 2.275 and LTS 2.263.2 allows reading arbitrary files using the file browser for workspaces and archived artifacts due to a time-of-check to time-of-use (TOCTOU) race condition.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: 2.275; LTS 2.263.2
- org.jenkins-ci.main:jenkins-core (Maven): before 2.263.3; from 2.264 before 2.276
- jenkins jenkins: before 2.263.3; before 2.276
- jenkins (Bitnami): before 2.276.0

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.jenkins.io/security/advisory/2021-01-26/#SECURITY-2197> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/01/26/2> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21615> (advisory, web)

## Sources

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

---

Page: https://cve.day/CVE-2021-21615 · Whole record: https://cve.day/CVE-2021-21615.json · Rebuilt by cve.day 2026-11-25T22:57:59.720Z
