3.1
CWE
863
Advisory Published
Updated

CVE-2025-1540: Incorrect Authorization in GitLab

First published: Thu Mar 06 2025(Updated: )

An issue has been discovered in GitLab CE/EE for Self-Managed and Dedicated instances affecting all versions from 17.5 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2. It was possible for a user added as an External to read and clone internal projects under certain circumstances."

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab Community Edition>=17.5<17.6.5>=17.7<17.7.4>=17.8<17.8.2

Remedy

Upgrade to version 17.8.2, 17.7.4 or 17.6.5.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-1540?

    CVE-2025-1540 is considered a critical vulnerability due to its potential to expose internal projects to unauthorized users.

  • How do I fix CVE-2025-1540?

    To fix CVE-2025-1540, upgrade GitLab CE/EE to version 17.6.5, 17.7.4, or 17.8.2 or later.

  • Who is affected by CVE-2025-1540?

    CVE-2025-1540 affects all instances of GitLab CE/EE versions from 17.5 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2.

  • What types of projects are vulnerable due to CVE-2025-1540?

    CVE-2025-1540 allows external users to read and clone internal projects in specific scenarios.

  • Is there a workaround for CVE-2025-1540?

    No official workaround is recommended; the best course of action is to update GitLab to a patched version.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203