Skip to main content
← All vulnerabilities
CVE-2026-20912GHSA-4XX9-VC8V-87HVBIT-GITEA-2026-20912GHSA-VFMV-F93V-37MWGO-2026-4364

Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Gitea Gitea Open Source Git Server

    through 1.25.3

  • github.com/go-gitea/giteaGo

    fixed in 1.25.4

  • code.gitea.io/giteaGo

    fixed in 1.25.4

References 5

GitHub · go-gitea/gitea

blog.gitea.com