Skip to content
OpenAdvisories
Medium · 4.8 CVE-2022-2251 EUVD-2022-34529GHSA-cxfq-cc8j-j2pp

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…

Published Jan 17, 2023 · Updated Apr 8, 2025 · Assigned by 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.

Affected products

VendorProductAffectedFixed
GitLab GitLab Runner <15.3.5, >=15.4, <15.4.4, >=15.5, <15.5.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS gitlab No fix yet —

References