Critical
Security advisory
Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45327
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:58 UTC · Revision 1
Source evidence
Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.
osv:CVE-2021-45327
Complete source record
{
"id": "956e37c1a2626c675e4e03a78a254cc2d2b7224d5f3a8b6e53ec8441d6ca7739",
"url": "https://osv.dev/vulnerability/CVE-2021-45327",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45327",
"summary": "Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.",
"evidence": "osv:CVE-2021-45327",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-45327",
"aliases": [
"BIT-gitea-2021-45327",
"CVE-2021-45327",
"GHSA-jrpg-35hw-m4p9",
"GO-2022-0310"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/go-gitea/gitea",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "07688231c22871df4d80040f98470dc53d1da71c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.11.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.11.1",
"v1.11.0",
"v1.11.0-rc2",
"v1.11.0-rc1",
"v1.10.0-rc1",
"v1.11.0-dev",
"v1.9.0-rc1",
"v1.10.0-dev",
"v1.9.0-dev",
"v1.7.0-dev",
"v1.6.0-rc1",
"v1.6.0-dev",
"v1.5.0-rc1",
"v1.5.0-dev",
"v1.1.0",
"v1.0.0",
"v0.9.99"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45327.json"
}
}
],
"modified": "2026-10-24T10:51:25.813473521Z",
"provider": "osv",
"references": [
"https://blog.gitea.io/2020/03/gitea-1.11.2-is-released/",
"https://github.com/go-gitea/gitea/pull/10462",
"https://github.com/go-gitea/gitea/pull/10465",
"https://github.com/go-gitea/gitea/pull/10582"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"vendor_product": "gitea:gitea",
"extracted_events": [
{
"range": [
{
"fixed": "1.11.2"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-45327",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442627,
"published_at": "2022-02-08T15:15:07.817+00:00"
}