CVE-2024-4597: Cross-Site Request Forgery (CSRF) in GitLab

Published May 8, 2024
·
Updated

An issue has been discovered in GitLab EE affecting all versions from 16.7 before 16.9.7, all versions starting from 16.10 before 16.10.5, all versions starting from 16.11 before 16.11.2. An attacker could force a user with an active SAML session to approve an MR via CSRF.

Affected Software

7 affected componentsFixes available
GitLab GitLab>=16.7.0<16.9.7
GitLab GitLab>=16.7.0<16.9.7
GitLab GitLab>=16.10.0<16.10.5
GitLab GitLab>=16.10.0<16.10.5
GitLab GitLab>=16.11.0<16.11.2
GitLab GitLab>=16.11.0<16.11.2
GitLab GitLab EE>=16.7<16.9.7, >=16.10<16.10.5, >=16.11<16.11.2
16.9.716.10.516.11.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.9.7Fixed in 16.10.5Fixed in 16.11.2
  2. Upgrade

    Upgrade GitLab EE to a version that resolves this vulnerability.

    Fixed in 16.9.7
  3. Upgrade

    Upgrade GitLab EE to a version that resolves this vulnerability.

    Fixed in 16.10.5
  4. Upgrade

    Upgrade GitLab EE to a version that resolves this vulnerability.

    Fixed in 16.11.2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-4597

Event History

May 9, 2024
CVE Published
via MITRE·01:38 AM
Data Sourced
via MITRE·01:38 AM
RemedyDescriptionSeverityWeakness
May 14, 2024
Data Sourced
via NVD·03:44 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-4597?

CVE-2024-4597 is considered a medium severity vulnerability due to the potential for CSRF exploitation leading to unauthorized actions.

2

How do I fix CVE-2024-4597?

To fix CVE-2024-4597, upgrade your GitLab instance to version 16.9.7, 16.10.5, or 16.11.2 or later.

3

What impact does CVE-2024-4597 have on GitLab users?

CVE-2024-4597 allows attackers to exploit an active SAML session to force users to approve merge requests through CSRF.

4

Which versions of GitLab are affected by CVE-2024-4597?

CVE-2024-4597 affects GitLab EE versions from 16.7 before 16.9.7, 16.10 from 16.10.0 before 16.10.5, and 16.11 from 16.11.0 before 16.11.2.

5

Is there a way to mitigate the risk of CVE-2024-4597 before upgrading?

While upgrading is the best solution, you can mitigate CVE-2024-4597 risk by monitoring and controlling user sessions and implementing CSRF protection in your applications.

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