CVEvulnerability
CVE-2022-2251
8.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-01-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 8.0 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
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.
Affected configurations
• gitlab runner (< 15.3.5)
• gitlab runner (>= 15.4.0 < 15.4.4)
• gitlab runner (>= 15.5.0 < 15.5.2)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386 Exploit, Issue Tracking, Vendor Advisory
- https://hackerone.com/reports/1063511 Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386 Exploit, Issue Tracking, Vendor Advisory
- https://hackerone.com/reports/1063511 Permissions Required, Third Party Advisory