
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-12697 is an improper escaping of output vulnerability in the Datadog integration of GitLab CE/EE that could allow an authenticated user with maintainer-role permissions to reveal Datadog API credentials under certain conditions. It affects all GitLab CE/EE versions from 15.5 before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2. The vulnerability was disclosed and patched on March 11, 2026. It carries a CVSS v3.1 base score of 2.2 (Low) per the official GitLab advisory, though NVD records a score of 4.4 (Medium) (GitLab Advisory, Red Hat CVE).
The root cause is classified as CWE-116 (Improper Encoding or Escaping of Output), specifically within GitLab's Datadog integration component. Due to insufficient output escaping, a maintainer-level user can trigger conditions that expose Datadog API credentials stored within the GitLab instance. The attack vector is network-based, requires high privileges (maintainer role), and involves high attack complexity, meaning specific environmental or configuration conditions must be met for exploitation to succeed (GitLab Advisory, Red Hat CVE). The vulnerability was reported by researcher shells3c through GitLab's HackerOne bug bounty program (HackerOne report #3341953) (GitLab Advisory).
Successful exploitation could allow a maintainer-level attacker to obtain Datadog API credentials configured within the GitLab instance, potentially enabling unauthorized access to the organization's Datadog monitoring infrastructure, dashboards, and observability data. The impact is limited to confidentiality (no integrity or availability impact), and the scope is unchanged, meaning exploitation does not facilitate direct lateral movement within GitLab itself. However, compromised Datadog credentials could expose sensitive operational telemetry, application performance data, and infrastructure metrics (GitLab Advisory, Red Hat CVE).
There is no public proof-of-concept exploit available, and no evidence of in-the-wild exploitation has been observed as of the time of disclosure. The EPSS score is approximately 0.009% (0.000090), reflecting a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is further constrained by the requirement for an authenticated maintainer-level account and specific conditions to be present (Red Hat CVE, GitLab Advisory).
GitLab has released patched versions addressing this vulnerability: 18.7.6, 18.8.6, and 18.9.2 for both CE and EE editions, published on March 11, 2026. GitLab.com is already running the patched version; GitLab Dedicated customers do not need to take action. Self-managed administrators should upgrade immediately. As interim measures, organizations should restrict maintainer-role permissions to trusted users only, rotate Datadog API credentials if exposure is suspected, and review audit logs for suspicious activity by maintainer-level accounts (GitLab Advisory).
The vulnerability was reported through GitLab's HackerOne bug bounty program by researcher shells3c and was addressed as part of a broader scheduled patch release on March 11, 2026, which also included several higher-severity fixes. No notable independent researcher commentary or significant media coverage specific to CVE-2025-12697 has been identified, consistent with its low severity rating (GitLab Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."