# CVE-2021-45327: Capture-replay in Gitea

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.14%, higher than 83% of CVEs (2026-11-30)
- Published: 2022-02-08T14:57:36.000Z
- Modified: 2026-09-08T08:47:33.142Z
- Also known as: GHSA-jrpg-35hw-m4p9, BIT-GITEA-2021-45327, GO-2022-0310
- Weaknesses: CWE-294, CWE-436
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/go-gitea/gitea (Go): before 1.11.2
- code.gitea.io/gitea (Go): before 1.11.2
- gitea gitea: before 1.11.2
- gitea (Bitnami): before 1.11.2

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://blog.gitea.io/2020/03/gitea-1.11.2-is-released/> (advisory, release-notes, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/10462> (advisory, patch, third-party-advisory, web)
- <https://github.com/go-gitea/gitea/pull/10465> (advisory, patch, third-party-advisory, web)
- <https://github.com/go-gitea/gitea/pull/10582> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45327> (advisory, web)
- <https://github.com/go-gitea/gitea/commit/4cb18601ff33dda5edb47d5b452cc8f2dc39dd67> (web)
- <https://github.com/go-gitea/gitea/commit/6f5656ab0ebec03fe63898208dabc802c4be46ab> (web)
- <https://github.com/go-gitea/gitea/commit/ed664a9e1dae4d4660e60c981173bbc5102e69ea> (web)
- <https://blog.gitea.io/2020/03/gitea-1.11.2-is-released> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-jrpg-35hw-m4p9> (advisory)

## Sources

- CVE List: [CVE-2021-45327](https://www.cve.org/CVERecord?id=CVE-2021-45327), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-jrpg-35hw-m4p9](https://github.com/advisories/GHSA-jrpg-35hw-m4p9), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0310](https://pkg.go.dev/vuln/GO-2022-0310), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-45327](https://nvd.nist.gov/vuln/detail/CVE-2021-45327), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2021-45327](https://osv.dev/vulnerability/BIT-GITEA-2021-45327), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-45327 · Whole record: https://cve.day/CVE-2021-45327.json · Rebuilt by cve.day 2026-11-25T22:58:06.794Z
