CVE-2025-6945: Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab

Published Nov 15, 2025
·
Updated

GitLab has remediated an issue in GitLab EE affecting all versions from 17.8 before 18.3.6, 18.4 before 18.4.4, and 18.5 before 18.5.2 that could have allowed an authenticated attacker to leak sensitive information from confidential issues by injecting hidden prompts into merge request comments.

Other sources

GitLab has remediated an issue that could have allowed an authenticated user to leak sensitive information from confidential issues by injecting hidden prompts in merge request comments.

GitLab

Affected Software

4 affected componentsFixes available
GitLab GitLab EE>=17.9<18.3.6, >=18.4<18.4.4, >=18.5<18.5.2
18.3.618.4.418.5.2
GitLab GitLab>=17.9.0<18.3.6
GitLab GitLab>=18.4.0<18.4.4
GitLab GitLab>=18.5.0<18.5.2

Remediation

Information

Upgrade to versions 18.3.6, 18.4.4, 18.5.2 or above.

Event History

Nov 15, 2025
CVE Published
via MITRE·08:04 AM
Data Sourced
via MITRE·08:04 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·02:16 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-2025-6945?

CVE-2025-6945 is a medium severity vulnerability that allows an authenticated user to leak sensitive information.

2

How do I fix CVE-2025-6945?

To fix CVE-2025-6945, upgrade GitLab EE to version 18.5.2 or later.

3

What versions of GitLab EE are affected by CVE-2025-6945?

CVE-2025-6945 affects GitLab EE versions from 17.9 up to 18.3.6, and version 18.4.4.

4

Can CVE-2025-6945 be exploited remotely?

CVE-2025-6945 requires user authentication, so it cannot be exploited remotely without authenticated access.

5

What kind of information can be leaked due to CVE-2025-6945?

CVE-2025-6945 can potentially leak sensitive information from confidential issues in GitLab.

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