Every CVE Search/ Get API key

CVE-2021-45327

Capture-replay in Gitea

9.8 CriticalFix available

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

2.14%Up 0.6 points since Feb 9, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
github.com/go-gitea/gitea
Go
before 1.11.2
1.11.2
gitea
Alpine:v3.16
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.17
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.18
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.19
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.20
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.21
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.22
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.23
before 1.11.2-r0
1.11.2-r0
gitea
Alpine:v3.24
before 1.11.2-r0
1.11.2-r0
Show 8 moreShow less
Affected packages
PackageAffectedFixed
gitea
Bitnami
before 1.11.2
1.11.2
code.gitea.io/gitea
Go
before 1.11.2
1.11.2
golang-code.gitea-git
Ubuntu: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-sdk
Ubuntu: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-git
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20171222.4ec3654-3
None known
golang-code.gitea-sdk
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20171220.79eee8f-3
None known
golang-code.gitea-git
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20190411.63b74d4+ds-1
None known
golang-code.gitea-sdk
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20171220.79eee8f-3
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE 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

Show 7 moreShow less
MoveEnter Open