CVE-2022-2251: GitLab Runner

High severity, CVSS 8.0. EPSS: 1.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • GitLab Runner, before 15.3.5: fixed in 15.3.5
  • GitLab Runner, from 15.4.0, before 15.4.4: fixed in 15.4.4
  • GitLab Runner, from 15.5.0, before 15.5.2: fixed in 15.5.2

Affected products

  • GitLab Runner: before 15.3.5 (fixed in 15.3.5); from 15.4.0, before 15.4.4 (fixed in 15.4.4); from 15.5.0, before 15.5.2 (fixed in 15.5.2)

Published 2023-01-17. Last modified 2026-06-17.