CVE-2022-2251

MEDIUM

GitLab Runner < 15.3.5, 15.4 < 15.4.4, 15.5 < 15.5.2 - OS Command Injection via Branch Name

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Exploit, Issue Tracking, Vendor Advisory
https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386
Permissions Required, Third Party Advisory
https://hackerone.com/reports/1063511

Scores

CVSS v3 4.8
EPSS 0.0220
EPSS Percentile 84.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (1)
gitlab/runner < 15.3.5
Published Jan 17, 2023
Tracked Since Feb 18, 2026