CVE-2025-12697: Improper Encoding or Escaping of Output in GitLab

Published Mar 11, 2026
·
Updated

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.5 before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2 that could have allowed an authenticated user with maintainer-role permissions to reveal Datadog API credentials under certain conditions.

Other sources

GitLab has remediated an issue that could have allowed an authenticated user with maintainer-role permissions to reveal Datadog API credentials under certain conditions.

GitLab

Affected Software

7 affected componentsFixes available
GitLab GitLab>=15.5<18.7.6, >=18.8<18.8.6, >=18.9<18.9.2
18.7.618.8.618.9.2
GitLab GitLab>=15.5.0<18.7.6
GitLab GitLab>=15.5.0<18.7.6
GitLab GitLab>=18.8.0<18.8.6
GitLab GitLab>=18.8.0<18.8.6
GitLab GitLab>=18.9.0<18.9.2
GitLab GitLab>=18.9.0<18.9.2

Remediation

Information

Upgrade to versions 18.7.6, 18.8.6, 18.9.2 or above.

Event History

Mar 11, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 21, 2026
Data Sourced
via GitLab·04:10 PM
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-12697?

CVE-2025-12697 is considered a high-severity vulnerability due to its potential to expose sensitive API credentials.

2

How do I fix CVE-2025-12697?

To fix CVE-2025-12697, upgrade GitLab to versions 18.7.6, 18.8.6, or 18.9.2 as recommended.

3

Who is affected by CVE-2025-12697?

CVE-2025-12697 affects all GitLab CE/EE versions from 15.5 to before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2.

4

What could CVE-2025-12697 allow an attacker to do?

CVE-2025-12697 could allow an authenticated user with maintainer-role permissions to reveal Datadog API credentials.

5

Is there a known exploit for CVE-2025-12697?

As of now, there is no information available indicating a known exploit for CVE-2025-12697.

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