🛡️ CVE-2021-21609 — jenkins
Description
Missing permission check for paths with specific prefix in Jenkins
Jenkins includes a static list of URLs that are always accessible even without Overall/Read permission, such as the login form. These URLs are excluded from an otherwise universal permission check.
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not correctly compare requested URLs with that list.
This allows attackers without Overall/Read permission to access plugin-provided URLs with any of the following prefixes if no other permissions are required:
accessDeniederrorinstance-identityloginlogoutoopssecurityRealmsignuptcpSlaveAgentListener
For example, a plugin contributing the path loginFoo/ would have URLs in that space accessible without the default Overall/Read permission check.
The Jenkins security team is not aware of any affected plugins as of the publication of this advisory.
The comparison of requested URLs with the list of always accessible URLs has been fixed to only allow access to the specific listed URLs in Jenkins 2.275, LTS 2.263.2.
In case this change causes problems, additional paths can be made accessible without Overall/Read permissions: The [Java system property](https://www.jenkins.io/doc/book/managing/system-properties/) jenkins.model.Jenkins.additionalReadablePaths is a comma-separated list of additional path prefixes to allow access to.
Affected software
CVE-2021-21609 is recorded against 2 packages.
- jenkins
- org.jenkins-ci.main:jenkins-core (from 2.264 up to 2.275)
Timeline and source
Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| jenkins | — | — |
| org.jenkins-ci.main:jenkins-core | 2.264 | 2.275 |
References
Similar Threats
- Unknown CGA-6g73-q3c3-92w7
- Unknown CGA-7235-w595-g588
- Unknown CGA-8fh2-rcx7-55xv
- Unknown CGA-8hr7-6c5h-m383
- Unknown CGA-8mhg-rvh5-jcp3
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in jenkins
CVE-2021-21609 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.