CVE-2023-0756: Code Injection

Published May 3, 2023
·
Updated

An issue has been discovered in GitLab affecting all versions before 15.9.6, all versions starting from 15.10 before 15.10.5, all versions starting from 15.11 before 15.11.1. The main branch of a repository with a specially crafted name allows an attacker to create repositories with malicious code, victims who clone or download these repositories will execute arbitrary code on their systems.

Affected Software

4 affected components
GitLab GitLab<15.9.6
GitLab GitLab>=15.10<15.10.5
GitLab GitLab>=15.11<15.11.1
ubuntu/gitlab*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 15.9.6
  2. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 15.10.5
  3. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 15.11.1

Event History

May 3, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
10:15 PM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverityAffected Software
May 9, 2023
Data Sourced
08:55 PM
SeverityAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-0756?

CVE-2023-0756 is considered a high severity vulnerability due to its potential to allow malicious repository creation.

2

How do I fix CVE-2023-0756?

To fix CVE-2023-0756, update GitLab to version 15.9.6 or later, or to versions 15.10.5 and later.

3

What versions of GitLab are affected by CVE-2023-0756?

CVE-2023-0756 affects all GitLab versions prior to 15.9.6, between 15.10 and 15.10.5, and between 15.11 and 15.11.1.

4

What type of attack does CVE-2023-0756 enable?

CVE-2023-0756 enables attackers to create repositories with malicious code by exploiting specially crafted repository names.

5

When was CVE-2023-0756 disclosed?

The details regarding CVE-2023-0756 were publicly disclosed as part of the GitLab vulnerability reporting process.

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