Improper Input Validation in GitLab Runner

Check todayFull system takeover over the network by a logged-in user.
8HIGH

CVE-2022-2251

Key Information:

Vendor

Gitlab

CVE ID
CVE ID:
CVE-2022-2251
Vendor
CVE Published:
17 January 2023
Fixed in
Fixed in:
15.3.5, 15.4, 15.4.4, 15.5, 15.5.2

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
GitLab Runner <15.3.5 to below 15.3.5 is vulnerable
GitLab Runner >=15.4, <15.4.4 to below 15.4, 15.4.4 is vulnerable
GitLab Runner >=15.5, <15.5.2 to below 15.5, 15.5.2 is vulnerable

Install the GitLab Runner release that fixes your version line, or later:

15.3.515.4, 15.4.415.5, 15.5.2
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach GitLab Runner. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8).

What is CVE-2022-2251?

The security flaw in GitLab Runner arises from inadequate sanitization of branch names, which may allow an attacker to create a branch with a carefully crafted name. If another user subsequently triggers a pipeline related to this branch, malicious commands could be executed within the context of that user's environment, leading to unauthorized actions. This vulnerability affects multiple versions of GitLab Runner and underscores the necessity of proper input validation mechanisms to mitigate such risks.

References

Integer Overflow Vulnerability in GitLab CE/EE Affects Multiple Versions

CVE-2026-110264
GitlabGitlabπŸ˜„πŸ‘Ύ10CRITICAL

Arbitrary Code Execution Vulnerability in GitLab CE/EE

CVE-2026-97229
GitlabGitlabπŸ˜„πŸ‘Ύ10CRITICAL

Arbitrary Command Execution Vulnerability in GitLab AI Gateway Component

CVE-2026-90970
GitlabGitlab Ai Gateway9.9CRITICAL
View more Gitlab vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged

Credit

Thanks [stanlyoncm](https://hackerone.com/stanlyoncm) for reporting this vulnerability through our HackerOne bug bounty program
.