Live threats

All CVEs / Gitea

CVE-2021-45327Gitea

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Feb 8, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-436
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea < 1.11.2 1.11.2 go get code.gitea.io/gitea@v1.11.2
Go github.com/go-gitea/gitea < 1.11.2 1.11.2 go get github.com/go-gitea/gitea@v1.11.2

Per OSV / GitHub Advisories (GO-2022-0310, GHSA-jrpg-35hw-m4p9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea< 1.11.2

Official sources

References

Links published by the sources. Open them with care.