Live threats

All CVEs / Gitea

CVE-2021-45326Gitea

High 8.8 No auth needed

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

What happens

Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API routes.This can be dangerous especially with state altering POST requests.

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 github.com/go-gitea/gitea < 1.5.2 1.5.2 go get github.com/go-gitea/gitea@v1.5.2
Go github.com/go-gitea/gitea < 1.5.2 1.5.2 go get github.com/go-gitea/gitea@v1.5.2

Per OSV / GitHub Advisories (GHSA-4wp3-8q92-mh8w, GO-2022-0309). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea< 1.5.2

Official sources

References

Links published by the sources. Open them with care.