{"id":"CVE-2021-21609","aliases":["CVE-2021-21609","GHSA-4625-q52w-39cx","BIT-JENKINS-2021-21609"],"related":[],"kind":"vulnerability","state":"published","title":"Missing permission check for paths with specific prefix in Jenkins","summary":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not correctly match requested URLs to the list of always accessible paths, allowing attackers without Overall/Read permission to access some URLs as if they did have Overall/Read permission.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not correctly match requested URLs to the list of always accessible paths, allowing attackers without Overall/Read permission to access some URLs as if they did have Overall/Read permission.","source":"cvelist"},{"lang":"en","text":"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.\n\nJenkins 2.274 and earlier, LTS 2.263.1 and earlier does not correctly compare requested URLs with that list.\n\nThis allows attackers without Overall/Read permission to access plugin-provided URLs with any of the following prefixes if no other permissions are required:\n- `accessDenied`\n- `error`\n- `instance-identity`\n- `login`\n- `logout`\n- `oops`\n- `securityRealm`\n- `signup`\n- `tcpSlaveAgentListener`\n\nFor example, a plugin contributing the path `loginFoo/` would have URLs in that space accessible without the default Overall/Read permission check.\n\nThe Jenkins security team is not aware of any affected plugins as of the publication of this advisory.\n\nThe 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.\n\nIn 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins versiones 2.274 y anteriores, LTS versiones 2.263.1 y anteriores, no hacen coincidir correctamente unas URL pedidas con la lista de rutas siempre accesibles, permitiendo a atacantes sin permiso general y de lectura acceder a algunas URL como si tuvieran permiso general y de lectura.","source":"nvd"}],"published":"2021-01-13T15:55:31.000Z","modified":"2026-09-08T08:48:00.830Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.274","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"LTS 2.263.1","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.263.2"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.264","status":"affected","fixed":"2.275"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.263.1"},{"status":"affected","lastAffected":"2.274"}],"vendor":"jenkins","product":"jenkins","cpe":"cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.274.1"}],"ecosystem":"Bitnami","package":"jenkins","purl":"pkg:bitnami/jenkins","source":"bitnami"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2047","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21609","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/jenkinsci/jenkins/commit/fe9091fc74d55a56fd36544f3038d47c8cb331a4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21609","url":"https://www.cve.org/CVERecord?id=CVE-2021-21609","licence":"CVE Terms of Use","modified":"2024-08-03T18:16:23.684Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4625-q52w-39cx","url":"https://github.com/advisories/GHSA-4625-q52w-39cx","licence":"CC-BY-4.0","modified":"2024-02-16T08:24:54.837Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21609","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21609","licence":"Public domain","modified":"2026-06-17T03:35:52.047Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JENKINS-2021-21609","url":"https://osv.dev/vulnerability/BIT-JENKINS-2021-21609","licence":"Apache-2.0","modified":"2026-09-08T08:48:00.830Z"}],"updatedAt":"2026-11-25T22:57:59.354Z","epss":{"score":0.01323,"percentile":0.71048,"date":"2026-11-30T12:00:22.000Z"}}