CVE-2024-8647: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

Published Dec 11, 2024
·
Updated

An issue was discovered in GitLab affecting all versions starting 15.2 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. On self hosted installs, it was possible to leak the cross site request forgery (CSRF) token to an external site while the Harbor integration was enabled. This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, 5.4). It is now mitigated in the latest release and is assigned CVE-2024-8647.

Other sources

An issue was discovered in GitLab affecting all versions starting 15.2 to 17.4.6, 17.5 prior to 17.5.4, and 17.6 prior to 17.6.2. On self hosted installs, it was possible to leak the anti-CSRF-token to an external site while the Harbor integration was enabled.

MITRE

Affected Software

5 affected componentsFixes available
GitLab GitLab>=15.2<17.4.6, <17.5.4, <17.6.2
GitLab GitLab>=15.2.0<17.4.6
GitLab GitLab>=17.5.0<17.5.4
GitLab GitLab>=17.6.0<17.6.2
GitLab GitLab>=15.2<17.4.6, >=17.5<17.5.4, >=17.6<17.6.2
17.4.617.5.417.6.2

Remediation

Information

Upgrade to versions 17.6.2, 17.5.4, 17.4.6 or above.

Event History

Dec 12, 2024
CVE Published
via MITRE·12:02 PM
Data Sourced
via MITRE·12:02 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software
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-2024-8647?

CVE-2024-8647 is considered a medium severity vulnerability due to the risk of anti-CSRF-token leakage.

2

How do I fix CVE-2024-8647?

To fix CVE-2024-8647, you should update your GitLab installation to version 17.5.4 or later, and 17.6.2 or later if using those specific vulnerable versions.

3

Which versions are affected by CVE-2024-8647?

CVE-2024-8647 affects GitLab versions 15.2 through 17.4.6, versions prior to 17.5.4, and versions prior to 17.6.2.

4

What impact does CVE-2024-8647 have on self-hosted GitLab instances?

CVE-2024-8647 allows the leakage of the anti-CSRF-token to external sites when the Harbor integration is enabled.

5

Is there a workaround for CVE-2024-8647?

There is no official workaround for CVE-2024-8647; updating to a secure 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