VULNERABILITY INTELLIGENCE
CVE-2022-2251
CVSS score4.8 MEDIUM
EPSS probability1.18%
CISA KEVNot currently listed
Published2023-01-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
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.
Weakness classification
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Primary references
- cve@gitlab.com — Vendor Advisory
- cve@gitlab.com — Exploit, Issue Tracking, Vendor Advisory
- cve@gitlab.com — Permissions Required, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Permissions Required, Third Party Advisory