Skip to main content
Go Modules

code.gitea.io/gitea Known Vulnerabilities & Fixes

code.gitea.io/gitea has 20 known security vulnerabilities in Go Modules. Upgrade to version 1.27.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

20 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 1.27.0

Upgrading to 1.27.0 or later resolves all 20 known vulnerabilities in code.gitea.io/gitea. Run: go get code.gitea.io/gitea@v1.27.0

Is code.gitea.io/gitea in your project?

Check if you're affected and upgrade to 1.27.0 to stay secure.

20
Total
13
Critical
7
High
0
Medium
0
Low

Security Summary

  • 20 affected version ranges have been identified across these 20 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for code.gitea.io/gitea: 6.3%.
  • Remediation: go get -u code.gitea.io/gitea

Vulnerabilities

20 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed May 24, 2022, most recently Jul 21, 2026 (1519 days apart).

CVE / GHSASeverity
CVE-2024-6886
Gitea Cross-site Scripting Vulnerability
Affected
All versions
Fixed in
1.22.1
CRITICAL
CVE-2026-20896
Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`
Affected
All versions
Fixed in
1.26.3
CRITICAL
CVE-2019-11576
Gitea Allows 1FA Even for 2FA-Enrolled Accounts
Affected
All versions
Fixed in
1.8.0
CRITICAL
CVE-2026-27771
Gitea has insufficient permission checks for Composer package source links
Affected
All versions
Fixed in
1.26.2
HIGH
CVE-2026-56654
Gitea: Privilege Escalation via Access Token Scope Escalation in API
Affected
All versions
Fixed in
1.27.0
HIGH
CVE-2026-26292
Gitea LFS mirror operations bypass migration HTTP transport protections
Affected
All versions
Fixed in
1.25.5
CRITICAL
CVE-2026-27780
Gitea pre-receive hook scanner errors allow branch-protection bypass
Affected
All versions
Fixed in
1.26.0
CRITICAL
CVE-2026-22874
Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default Filter
Affected
All versions
Fixed in
1.26.3
CRITICAL
CVE-2026-58443
Gitea: Public-only repository tokens can update private PR head branches
Affected
All versions
Fixed in
1.27.0
CRITICAL
CVE-2026-25718
Gitea template repository generation follows unsafe filesystem paths
Affected
All versions
Fixed in
1.25.5
CRITICAL
CVE-2026-27775
Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write
Affected
All versions
Fixed in
1.26.3
HIGH
CVE-2026-22547
Gitea repository creation accepts insufficiently validated fields
Affected
All versions
Fixed in
1.25.5
CRITICAL
CVE-2026-26232
Gitea OAuth2 authorization codes can be reused after expiry
Affected
All versions
Fixed in
1.25.5
CRITICAL
CVE-2026-26247
Gitea OAuth2 PKCE S256 verifier bypass
Affected
All versions
Fixed in
1.25.5
CRITICAL
CVE-2026-56750
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
Affected
All versions
Fixed in
1.27.0
CRITICAL
CVE-2026-28737
Gitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File Viewer
Affected
All versions
Fixed in
1.26.0
HIGH
CVE-2026-58424
Gitea: Permanent Fork PR Workflow Approval Gate Bypass
Affected
All versions
Fixed in
1.26.3
HIGH
CVE-2026-57894
Gitea: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
Affected
All versions
Fixed in
1.27.0
HIGH
CVE-2026-26231
Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repo
Affected
All versions
Fixed in
1.26.2
HIGH
CVE-2026-58426
Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write
Affected
All versions
Fixed in
1.26.2
CRITICAL

About This Data

Vulnerability data for code.gitea.io/gitea is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of code.gitea.io/gitea.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed