CVE-2021-45327
Capture-replay in Gitea
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2021-45327- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-436
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-45327- Updated
- 2026-11-02
EUVDEUVD-2022-1083 No score
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.
- Record
EUVD-2022-1083- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jrpg-35hw-m4p9
9.8
Capture-replay in Gitea
Gitea is a project to help users set up a self-hosted Git service. Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. This could allow a remote malicious user to execute arbitrary code.
- Record
GHSA-jrpg-35hw-m4p9- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-294
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-45327
9.8
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.
- Record
ALPINE-CVE-2021-45327- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
9.8
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.
- Record
CVE-2021-45327- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-jrpg-35hw-m4p9
9.8
Capture-replay in Gitea
Gitea is a project to help users set up a self-hosted Git service. Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. This could allow a remote malicious user to execute arbitrary code.
- Record
GHSA-jrpg-35hw-m4p9- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-294
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-45327
9.8
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.
- Record
UBUNTU-CVE-2021-45327- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-gitea-2021-45327 No score
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.
- Record
BIT-gitea-2021-45327- Updated
- 2026-11-02
OSVGO-2022-0310 No score
Capture-replay in Gitea in code.gitea.io/gitea
Capture-replay in Gitea in code.gitea.io/gitea
- Record
GO-2022-0310- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/go-gitea/giteaGo |
before 1.11.2 | 1.11.2 |
giteaAlpine:v3.16 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.17 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.18 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.19 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.20 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.21 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.22 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.23 |
before 1.11.2-r0 | 1.11.2-r0 |
giteaAlpine:v3.24 |
before 1.11.2-r0 | 1.11.2-r0 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
giteaBitnami |
before 1.11.2 | 1.11.2 |
code.gitea.io/giteaGo |
before 1.11.2 | 1.11.2 |
golang-code.gitea-gitUbuntu:18.04:LTS |
All versions, plus listed versions 0.0~git20170710.0.fc63966-10.0~git20170919.0.cdb43f0-10.0~git20171222.4ec3654-10.0~git20171222.4ec3654-3 |
None known |
golang-code.gitea-sdkUbuntu:18.04:LTS |
All versions, plus listed versions 0.0~git20170708.0.9990008-10.0~git20170920.0.60c6048-10.0~git20171220.79eee8f-10.0~git20171220.79eee8f-3 |
None known |
golang-code.gitea-gitUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20171222.4ec3654-3 |
None known |
golang-code.gitea-sdkUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20171220.79eee8f-3 |
None known |
golang-code.gitea-gitUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20190411.63b74d4+ds-1 |
None known |
golang-code.gitea-sdkUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20171220.79eee8f-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-45327 is a critical vulnerability (CVSS 9.8) in Gitea, published February 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in github.com/go-gitea/gitea 1.11.2.
References
blog.gitea.io/2020/03/gitea-1.11.2-is-released
github.com/go-gitea/gitea/pull/10462
github.com/go-gitea/gitea/pull/10465
github.com/go-gitea/gitea/pull/10582
nvd.nist.gov/vuln/detail/CVE-2021-45327
github.com/go-gitea/gitea/commit/4cb18601ff33dda5edb47d5b452cc8f2dc39dd67
Show 7 moreShow less
github.com/go-gitea/gitea/commit/6f5656ab0ebec03fe63898208dabc802c4be46ab
github.com/go-gitea/gitea/commit/ed664a9e1dae4d4660e60c981173bbc5102e69ea
github.com/advisories/GHSA-jrpg-35hw-m4p9
security.alpinelinux.org/vuln/CVE-2021-45327
github.com/go-gitea/gitea
ubuntu.com/security/CVE-2021-45327
cve.org/CVERecord?id=CVE-2021-45327