Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API…
Priority LOW 39CWE-352Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
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.
Why it matters now
EPSS 0.00606 49th percentileScored 2026-11-07
Fix Fixed github.com/go-gitea/gitea (Go): 1.5.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | github.com/go-gitea/gitea (Go) | before 1.5.2 | 1.5.2 | Patch available | GHSA-4wp3-8q92-mh8w |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/go-gitea/gitea (Go) Vendor— Affected before 1.5.2 Fixed in 1.5.2 Patch available GHSA-4wp3-8q92-mh8w
Remediation
- Fix · GHSA-4wp3-8q92-mh8w github.com/go-gitea/gitea (Go) Fixed in 1.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-45326
- 2026-10-03 Alias added: GHSA-4wp3-8q92-mh8w
References
More Gitea vulnerabilities
- TI-2026-42785 Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation. KEVCVSS 3.1CRITICAL 9.8
- TI-2020-11072 The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote… CVSS 3.1HIGH 7.2
- TI-2022-12910 Gitea before 1.16.7 does not escape git fetch remote. CVSS 3.1HIGH 7.5
- TI-2019-08404 models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror… CVSS 3.1HIGH 8.8
- TI-2022-00955 Open Redirect on login in go-gitea/gitea CVSS 3.1MEDIUM 6.1
- TI-2026-68968 Push-to-create bypass of FORCE_PRIVATE policy in Gitea CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-45326 · CVE Program
- CVE-2021-45326 · NVD
- FIRST EPSS
- GHSA-4wp3-8q92-mh8w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences