# CVE-2021-21640: View name validation bypass in Jenkins

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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.91%, higher than 80% of CVEs (2026-12-01)
- Published: 2021-04-07T13:50:14.000Z
- Modified: 2026-09-08T08:47:57.707Z
- Also known as: GHSA-w2hv-rcqr-2h7r, BIT-JENKINS-2021-21640
- Weaknesses: CWE-240
- Assigned by: jenkins

## Description

Jenkins 2.286 and earlier, LTS 2.277.1 and earlier does not properly check that a newly created view has an allowed name, allowing attackers with View/Create permission to create views with invalid or already-used names.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: from unspecified up to 2.286; from unspecified up to LTS 2.277.1
- org.jenkins-ci.main:jenkins-core (Maven): before 2.277.2; from 2.278 before 2.287
- jenkins jenkins: up to 2.277.1; up to 2.286
- jenkins (Bitnami): before 2.286.1

## Every score

- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.jenkins.io/security/advisory/2021-04-07/#SECURITY-1871> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/04/07/2> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21640> (advisory, web)
- <https://github.com/jenkinsci/jenkins/commit/42e2c74049ddf5e0aca1fe6aadc7b24fdabb5494> (web)
- <https://github.com/jenkinsci/jenkins> (package)

## Sources

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

---

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