Medium
Security advisory
Under certain conditions, some users were able to push to protected branches that were restricted to deploy keys in GitLab CE/EE since version 13.9
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22226
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:50 UTC · Revision 1
Source evidence
Under certain conditions, some users were able to push to protected branches that were restricted to deploy keys in GitLab CE/EE since version 13.9
osv:CVE-2021-22226
Complete source record
{
"id": "82ae520bc390a7f29a02e7fa88a1c93f480193c272b1cbc5b25dc1b1dd02e83b",
"url": "https://osv.dev/vulnerability/CVE-2021-22226",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22226",
"summary": "Under certain conditions, some users were able to push to protected branches that were restricted to deploy keys in GitLab CE/EE since version 13.9",
"evidence": "osv:CVE-2021-22226",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22226",
"aliases": [
"BIT-gitlab-2021-22226",
"CVE-2021-22226"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "a1a60e9f753f4e99f2b13b24028a6092a897cc06"
},
{
"fixed": "c97463266eba228cdd87a62b1289bf372c1b3866"
},
{
"introduced": "12a3ec8fb4a540576b2d47247bc86ea7e2c7565b"
},
{
"fixed": "088a665feba19e15cff694d69fc920197286678b"
},
{
"introduced": "0034acfc891b0cbc2ecc4aa4c5ca0d1f89e3c32f"
},
{
"fixed": "2504e045362c0930170ea2f9bfd0d1e4d143a817"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.9.0"
},
{
"fixed": "13.11.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.9.0"
},
{
"fixed": "13.11.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.12.0"
},
{
"fixed": "13.12.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.12.0"
},
{
"fixed": "13.12.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "14.0.0"
},
{
"fixed": "14.0.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "14.0.0"
},
{
"fixed": "14.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v13.12.5-ee",
"v14.0.1-ee",
"v14.0.0-ee",
"v13.12.4-ee",
"v13.12.3-ee",
"v13.12.1-ee",
"v13.12.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22226.json"
}
}
],
"modified": "2026-10-30T10:30:20.635390111Z",
"provider": "osv",
"references": [
"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22226.json",
"https://gitlab.com/gitlab-org/gitlab/-/issues/326684"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-22226",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430733,
"published_at": "2021-07-06T21:15:07.973+00:00"
}