{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21686","id":"CVE-2021-21686","title":"Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins","description":"File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.","descriptionLong":"File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.","published":"2021-11-04T16:30:25.000Z","updated":"2026-10-24T10:30:25.177271321Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Jenkins project Jenkins"],"affectedProducts":[{"vendor":"Jenkins project","product":"Jenkins","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.318","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"LTS 2.303.2","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","ranges":["<2.303.3",">=2.304 <2.319"],"fixed":["2.303.3","2.319"],"advisory":"GHSA-4g38-hrm4-rg94"}],"cwes":["CWE-59","CWE-22"],"aliases":["BIT-jenkins-2021-21686","GHSA-4g38-hrm4-rg94"],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21686","tags":["advisory"]},{"url":"https://github.com/jenkinsci/jenkins/commit/104c751d907919dd53f5090f84d53c671a66457b","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins/commit/5a245e42979abe4a26d41727c839521e36cedd74","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins/commit/63cde2daadc705edf086f2213b48c8c547f98358","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01983,"epssPercentile":0.81014,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21686","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21686","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21686","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4g38-hrm4-rg94","ok":true,"note":"GHSA-4g38-hrm4-rg94"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21686","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":[],"attention":null}