CVE-2025-12697
Credential Exposure via Privilege Escalation in GitLab CE/EE
Publication date: 2026-03-11
Last updated on: 2026-03-17
Assigner: GitLab Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gitlab | gitlab | From 18.8.0 (inc) to 18.8.6 (exc) |
| gitlab | gitlab | From 18.9.0 (inc) to 18.9.2 (exc) |
| gitlab | gitlab | From 18.8.0 (inc) to 18.8.6 (exc) |
| gitlab | gitlab | From 18.9.0 (inc) to 18.9.2 (exc) |
| gitlab | gitlab | From 15.5.0 (inc) to 18.7.6 (exc) |
| gitlab | gitlab | From 15.5.0 (inc) to 18.7.6 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-116 | The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in GitLab CE/EE affects versions from 15.5 before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2. It could allow an authenticated user with maintainer-role permissions to reveal Datadog API credentials under certain conditions.
How can this vulnerability impact me? :
The impact of this vulnerability is that an authenticated maintainer could gain access to sensitive Datadog API credentials. This could potentially lead to unauthorized access to monitoring data or manipulation of monitoring services associated with the affected GitLab instance.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update GitLab CE/EE to a fixed version. Specifically, upgrade to version 18.7.6 or later if you are using 15.5 to before 18.7.6, to 18.8.6 or later if using 18.8 before 18.8.6, or to 18.9.2 or later if using 18.9 before 18.9.2.