Medium
Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-13113
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 03:24 UTC · Revision 1
Source evidence
Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab
core-osv · Original sourcePublished 29 Jul 2026, 19:00 UTC
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.
osv:CVE-2026-13113
Complete source record
{
"id": "086354c495ccef8139cb9b9eb5b9ac276bef753619aa519bacc62730fd48105a",
"url": "https://osv.dev/vulnerability/CVE-2026-13113",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab",
"summary": "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.",
"evidence": "osv:CVE-2026-13113",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-13113",
"aliases": [
"BIT-gitlab-2026-13113",
"CVE-2026-13113"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "8c75d0bf4a4190d94326f1a854d0a102ceca4392"
},
{
"fixed": "e5e2c82b8e3d4db7b86f404c40483e32e3d0d0d8"
},
{
"introduced": "67581074a0aab1f53cdafe7eead5f5d07f3afec8"
},
{
"fixed": "f7e0d7bb4fa4f3f2f004b6bfa501f950285d87df"
},
{
"introduced": "68485a1eb627c9a992f266263157327649822db3"
},
{
"last_affected": "68485a1eb627c9a992f266263157327649822db3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "17.0.0"
},
{
"fixed": "19.0.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "19.1.0"
},
{
"fixed": "19.1.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:19.2.0:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "19.2.0"
},
{
"last_affected": "19.2.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"19.2.0",
"v19.1.0-ee",
"v19.2.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13113.json"
}
}
],
"modified": "2026-10-30T10:30:58.922969224Z",
"provider": "osv",
"references": [
"https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-1-released/",
"https://gitlab.com/gitlab-org/gitlab/-/work_items/597838",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13113.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-13113"
],
"provider_metadata": {
"cwe_ids": [
"CWE-367"
],
"cna_assigner": "GitLab",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "17.0"
},
{
"fixed": "19.0.5"
},
{
"introduced": "19.1"
},
{
"fixed": "19.1.3"
},
{
"introduced": "19.2"
},
{
"fixed": "19.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "17.0"
},
{
"fixed": "19.0.5"
},
{
"introduced": "19.1"
},
{
"fixed": "19.1.3"
},
{
"introduced": "19.2"
},
{
"fixed": "19.2.1"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13113.json"
}
},
"related_cves": [
{
"value": "CVE-2026-13113",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492182,
"published_at": "2026-07-29T19:00:31.041+00:00"
}