CVE-2022-2251
published medium CVSS 3.1 · 4.8GitLab Runner vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab Runner<15.3.5 · >=15.4, <15.4.4 · >=15.5, <15.5.2 | Affected | Not stated | GitLab |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab Runner | <15.3.5 (affected)>=15.4, <15.4.4 (affected)>=15.5, <15.5.2 (affected) | GitLab · cna |
Weaknesses
2- Improper neutralization of special elements used in an os command ('os command injection') in GitLab Runner
- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
3Provider assertions
3GitLab · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9c8d594a648e7309b1d0659e973dddc81df208683ccf1fc4a2df2e025a7593b0
- Ingested
- 23 Sep 2026, 08:00:01 UTC
- Source record
- Official CVE record