CVE-2021-45327: Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API.

CVE-2021-45327 affects 16 listed versions of Gitea in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
2%EPSS (next 30 days)
8 February 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Gitea

16 of 124 listed versions are affected. Fixed in 1.11.2. The newest release, 28.4.0, is not affected.

1.8.0 1.8.0-rc2 1.8.0-rc1 1.7.6 1.7.3 1.7.2 1.7.1 1.7.0 1.6.2 1.5.4 1.5.2 1.5.1 1.5.0 1.5.0-rc2 1.5.0-rc1 1.4.3

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 8 February 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2021-45327 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.