{"id":"CVE-2022-2251","aliases":["BIT-gitlab-runner-2022-2251","EUVD-2022-34529","GHSA-cxfq-cc8j-j2pp","UBUNTU-CVE-2022-2251"],"status":"published","title":"Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15...","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.","severity":{"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01177,"percentile":0.67862,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78"],"published":"2023-01-17T00:00:00Z","modified":"2026-10-28T02:30:48Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab-runner","fixed_in":["15.3.5","15.4.4","15.5.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab-runner","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"15.3.5"},{"introduced":"15.4.0"},{"fixed":"15.4.4"},{"introduced":"15.5.0"},{"fixed":"15.5.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab runner"},{"vendor":"gitlab","product":"runner"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386","tags":["x_transferred","Exploit","Issue Tracking","Vendor Advisory","advisory","report"]},{"url":"https://hackerone.com/reports/1063511","tags":["x_transferred","Permissions Required","Third Party Advisory","advisory","web"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json","tags":["x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2251","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-cxfq-cc8j-j2pp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2251.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-2251","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2251","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2251","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.","status":"published","published":"2023-01-17T00:00:00Z","modified":"2025-04-08T18:20:55.756Z","cvss":[{"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","level":"medium","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-34529","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.","status":"published","published":"2023-01-17T00:00:00Z","modified":"2025-04-08T18:20:55Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T20:52:39.54776Z"}],"ghsa":[{"id":"GHSA-cxfq-cc8j-j2pp","title":"Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15...","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.","status":"published","published":"2023-01-17T21:30:21Z","modified":"2025-04-08T21:32:33Z","cvss":[{"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","level":"high"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T15:00:52.300715Z"}],"nvd":[{"id":"CVE-2022-2251","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.","status":"published","published":"2023-01-17T21:15:12.343Z","modified":"2026-06-17T04:41:33.673Z","cvss":[{"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","level":"medium","assessor":"secondary"},{"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","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:35.157734Z"}],"osv":[{"id":"CVE-2022-2251","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.","status":"published","published":"2023-01-17T00:00:00Z","modified":"2026-10-28T02:30:48.854645876Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T15:44:24.061177Z"},{"id":"UBUNTU-CVE-2022-2251","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.","status":"published","published":"2023-01-17T21:15:00Z","modified":"2025-10-24T04:53:01Z","cvss":[{"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","level":"high"},{"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","level":"medium"}],"updated_at":"2026-11-02T16:53:52.391598Z"},{"id":"BIT-gitlab-runner-2022-2251","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.","status":"published","published":"2024-03-06T10:52:15.486Z","modified":"2026-09-08T08:47:33.6428044Z","updated_at":"2026-11-02T15:28:30.70064Z"}]}}
