CVE-2023-5061: Developer can bypass predefined variables via REST API

Published Dec 13, 2023
·
Updated

An issue has been discovered in GitLab affecting all versions starting from 9.3 before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. In certain situations, it may have been possible for developers to override predefined CI variables via the REST API.

Affected Software

5 affected componentsFixes available
GitLab GitLab>=9.3.0<16.4.4
GitLab GitLab>=9.3.0<16.4.4
GitLab GitLab>=16.5.0<16.5.4
GitLab GitLab>=16.5.0<16.5.4
GitLab GitLab>=9.3<16.4.4, >=16.5<16.5.4, >=16.6<16.6.2
16.4.416.5.416.6.2

Remediation

Information

Upgrade to versions 16.4.4, 16.5.4, 16.6.2 or above.

Event History

Dec 15, 2023
CVE Published
via MITRE·04:03 PM
Data Sourced
via MITRE·04:03 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-5061?

CVE-2023-5061 has been classified with a medium severity rating due to its potential impact on GitLab CI variable settings.

2

How do I fix CVE-2023-5061?

To mitigate CVE-2023-5061, upgrade GitLab to version 16.4.4 or later, or to versions 16.5.4 or later, or 16.6.2 or later.

3

Which versions of GitLab are affected by CVE-2023-5061?

CVE-2023-5061 affects all GitLab versions from 9.3 to prior to 16.4.4, 16.5 to prior to 16.5.4, and 16.6 to prior to 16.6.2.

4

What potential impact does CVE-2023-5061 have on GitLab users?

CVE-2023-5061 may allow developers to override predefined CI variables, which could lead to unwanted changes in CI/CD pipelines.

5

Is there a workaround for CVE-2023-5061 if I cannot update GitLab immediately?

Currently, there are no documented workarounds for CVE-2023-5061, so it is recommended to update GitLab as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203