{"id":"CVE-2026-13113","state":"PUBLISHED","title":"Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab","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.","publishedAt":"2026-07-29T19:00:31.041Z","updatedAt":"2026-08-20T13:55:43.159Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.0","status":"affected","lessThan":"19.0.5","versionType":"semver"},{"version":"19.1","status":"affected","lessThan":"19.1.3","versionType":"semver"},{"version":"19.2","status":"affected","lessThan":"19.2.1","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":["https://gitlab.com/gitlab-org/gitlab/-/work_items/597838","https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-1-released/"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/13xxx/CVE-2026-13113.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-13113","state":"PUBLISHED","datePublished":"2026-07-29T19:00:31.041Z","dateUpdated":"2026-08-20T13:55:43.159Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2026-06-23T20:33:43.206Z"},"containers":{"cna":{"title":"Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.0","status":"affected","lessThan":"19.0.5","versionType":"semver"},{"version":"19.1","status":"affected","lessThan":"19.1.3","versionType":"semver"},{"version":"19.2","status":"affected","lessThan":"19.2.1","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/597838"},{"url":"https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-1-released/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-08-20T13:55:43.159Z"},"credits":[{"lang":"en","type":"finder","value":"This vulnerability was discovered by Henrik Sandberg in collaboration with GitLab team member Niklas Janz"}],"solutions":[{"lang":"en","value":"Upgrade to versions 19.0.5, 19.1.3, 19.2.1 or above."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-29T19:42:19.157690Z","id":"CVE-2026-13113","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-29T19:43:09.825Z"}}]}}}