CVE-2025-12697 json
Improper Encoding or Escaping of Output in GitLab
published 2026-03-11 7 mo ago modified 2026-09-08 2 mo ago also BIT-gitlab-2025-12697 , EUVD-2025-208571
- cvss
- 2.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 18.7.6, 18.8.6, 18.9.2
- GitLab GitLab 18.7.6, 18.8.6, 18.9.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/3341953 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=15.5.0, <18.7.6 >=18.8.0, <18.8.6 >=18.9.0, <18.9.2 |
18.7.6 18.8.6 18.9.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-116 Improper Encoding or Escaping of Output
- Technology feeds
References
-
hackerone.com
/reports/3341953
technical-description, exploit, permissions-required, web
-
about.gitlab.com
/releases/2026/03/11/patch-release-gitlab-18-9-2-released/
release-notes, vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/work_items/579504
broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-12697
web
Sources
- CVE List CVE-2025-12697
- NVD CVE-2025-12697
- OSV BIT-gitlab-2025-12697
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.