Cyber Resilience

CVE-2025-12697

Gitlab 15.5.0 – 18.7.6

Published
11 March 2026
Modified
17 March 2026
Patch / advisory
CVSS Score v3.1 2.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0029 22th percentile
Risk Priority 15 floored blend · peak EPSS

Summary

CVE-2025-12697 is a low-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Gitlab Gitlab. Its CVSS base score is 2.2 (Low).

Operationally, ranked at the 22th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-15 (Information Output Filtering) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-6329Same product: Gitlab Gitlab
CVE-2025-8405Same product: Gitlab Gitlab
CVE-2025-12734Same product: Gitlab Gitlab
CVE-2023-2200Same product: Gitlab Gitlab
CVE-2024-4099Same product: Gitlab Gitlab
CVE-2023-2030Same product: Gitlab Gitlab
CVE-2026-13151Same product: Gitlab Gitlab
CVE-2024-1211Same product: Gitlab Gitlab
CVE-2023-5009Same product: Gitlab Gitlab
CVE-2023-0632Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
15.5.0 — 18.7.6 · 15.5.0 — 18.7.6 · 18.8.0 — 18.8.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-15 Information Output Filtering
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.1.2
  • V1.2.1
  • V1.2.3

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires filtering of sensitive information (such as API credentials) from all outputs, addressing the CWE-116 improper output encoding flaw that enabled credential disclosure.

prevent

Enforces access-control decisions so that even authenticated maintainer-role users cannot obtain Datadog API credentials they are not explicitly authorized to view.

prevent

Restricts maintainer-role permissions to the minimum necessary, reducing the chance that role privileges can be abused to trigger the credential-exposure condition.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper output encoding to prevent injection and message malformation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

detects

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure development life cycle mandates output encoding/escaping practices that directly prevent improper encoding.

prevents

Application security requirements include explicit rules for safe output handling and encoding.

prevents

Secure architecture principles reduce the likelihood of missing encoding but do not prescribe the actual technique.

References