{"id":"CVE-2021-21605","aliases":["BIT-jenkins-2021-21605","GHSA-pxgq-gqr9-5gwx"],"url":"https://o3.security/vulnerability/CVE-2021-21605","summary":"Path traversal vulnerability in Jenkins agent names","details":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier allows users with Agent/Configure permission to choose agent names that cause Jenkins to override unrelated `config.xml` files. If the global `config.xml` file is replaced, Jenkins will start up with unsafe legacy defaults after a restart.\n\nJenkins 2.275, LTS 2.263.2 ensures that agent names are considered valid names for items to prevent this problem.\n\nIn case of problems, this change can be reverted by setting the [Java system property](https://www.jenkins.io/doc/book/managing/system-properties/) `jenkins.model.Nodes.enforceNameRestrictions` to `false`.","published":"2021-01-13T16:15:13.600Z","modified":"2026-07-09T00:12:28.483889Z","cvss":{"score":8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","fixedVersion":"2.263.2"},{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","fixedVersion":"2.275"}],"fix":{"url":"https://github.com/jenkinsci/jenkins/commit/b19b34db4b24b163d4edc53ccb84f41a3589cb08","label":"jenkinsci/jenkins@b19b34d"},"references":[{"type":"ADVISORY","url":"https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2021"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21605"},{"type":"WEB","url":"https://github.com/jenkinsci/jenkins/commit/b19b34db4b24b163d4edc53ccb84f41a3589cb08"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/jenkins"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T00:12:28.483889Z"}}