CVE-2026-78433

Gitea private attachment disclosure through repository mismatch

State
Published
Severity
5.9 Medium
Published
Oct 14, 2026
Updated
Oct 18, 2026
Reserved
Aug 24, 2026

Read the record on cve.org

Description

Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-284 Improper Access Control
  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-863 Incorrect Authorization
  • CWE-1220 Insufficient Granularity of Access Control

Affected Products

ProductVersions
GiteaGitea
  • 1.26.0 through 1.27.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.