{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2251","id":"CVE-2022-2251","title":"Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4,…","description":"Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2 allows a user who creates a branch with a specially crafted name and gets another user to trigger a pipeline to execute commands in the runner as that other user.","descriptionLong":"Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2 allows a user who creates a branch with a specially crafted name and gets another user to trigger a pipeline to execute commands in the runner as that other user.","published":"2023-01-17T00:00:00.000Z","updated":"2026-10-28T02:30:48.854645876Z","reserved":"2022-06-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitLab","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitLab"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitLab"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"gitlab.com"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["GitLab Runner"],"affectedProducts":[{"vendor":"GitLab","product":"GitLab Runner","defaultStatus":null,"versions":[{"version":"<15.3.5","status":"affected"},{"version":">=15.4, <15.4.4","status":"affected"},{"version":">=15.5, <15.5.2","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-78"],"aliases":["BIT-gitlab-runner-2022-2251"],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386","tags":["x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://hackerone.com/reports/1063511","tags":["x_transferred","Permissions Required","Third Party Advisory","web"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2251.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2251","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01221,"epssPercentile":0.69345,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2251","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2251","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2251","ok":true,"note":"0 packages"},{"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-2022-2251","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":[],"attention":null}