CVE-2024-9512: Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab

Published Jun 11, 2025
·
Updated

An issue has been discovered in GitLab EE affecting all versions prior to 17.10.8, 17.11 prior to 17.11.4, and 18.0 prior to 18.0.2. It may have been possible for private repository to be cloned in case of race condition when a secondary node is out of sync.

Other sources

GitLab has remediated an issue that, under certain conditions, could have allowed a successful attacker to clone a legitimate user’s private repository by sending a timed clone request when a secondary node is out of sync.

GitLab

Affected Software

8 affected componentsFixes available
GitLab GitLab EE<17.10.8, <17.11.4, <18.0.2
GitLab GitLab<17.10.8
GitLab GitLab<17.10.8
GitLab GitLab>=17.11.0<17.11.4
GitLab GitLab>=17.11.0<17.11.4
GitLab GitLab>=18.0.0<18.0.2
GitLab GitLab>=18.0.0<18.0.2
GitLab GitLab>=17.11<17.11.4, >=18.0<18.0.2
17.11.418.0.2

Remediation

Information

Upgrade to versions 17.10.8, 17.11.4, 18.0.2 or above.

Event History

Jun 12, 2025
CVE Published
via MITRE·02:02 PM
Data Sourced
via MITRE·02:02 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-9512?

The severity of CVE-2024-9512 is classified as moderate, due to the potential for unauthorized access to private repositories under specific race conditions.

2

How do I fix CVE-2024-9512?

To mitigate CVE-2024-9512, upgrade GitLab EE to version 17.10.8 or later, 17.11.4 or later, or 18.0.2 or later.

3

What versions of GitLab EE are affected by CVE-2024-9512?

CVE-2024-9512 affects GitLab EE versions prior to 17.10.8, 17.11 prior to 17.11.4, and 18.0 prior to 18.0.2.

4

What are the potential risks of CVE-2024-9512?

The risks associated with CVE-2024-9512 include the possibility of unauthorized cloning of private repositories under specific conditions.

5

Is there a workaround for CVE-2024-9512 if I cannot upgrade?

There is no documented workaround for CVE-2024-9512, so upgrading to a patched version is the recommended action.

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