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

- Severity: Low 2.2 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T16:06:00.688Z
- Modified: 2026-09-08T08:47:44.216Z
- Also known as: BIT-GITLAB-2025-12697
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitLab

## Description

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.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 15.5 before 18.7.6; from 18.8 before 18.8.6; from 18.9 before 18.9.2; from 15.5.0 before 18.7.6; from 18.8.0 before 18.8.6; from 18.9.0 before 18.9.2
- gitlab (Bitnami): from 15.5.0 before 18.7.6; from 18.8.0 before 18.8.6; from 18.9.0 before 18.9.2

## Every score

- GitLab: CVSS:3.1 2.2 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/3341953> (exploit, permissions-required, technical-description, web)
- <https://gitlab.com/gitlab-org/gitlab/-/work_items/579504> (broken-link, web)
- <https://about.gitlab.com/releases/2026/03/11/patch-release-gitlab-18-9-2-released/> (advisory, release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12697> (web)

## Sources

- CVE List: [CVE-2025-12697](https://www.cve.org/CVERecord?id=CVE-2025-12697), CVE Terms of Use, modified 2026-03-11
- NVD: [CVE-2025-12697](https://nvd.nist.gov/vuln/detail/CVE-2025-12697), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2025-12697](https://osv.dev/vulnerability/BIT-GITLAB-2025-12697), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-12697 · Whole record: https://cve.day/CVE-2025-12697.json · Rebuilt by cve.day 2026-11-25T22:59:11.907Z
