Skip to content

CVE-2026-78433 Gitea private attachment disclosure through repository mismatch

MediumCVSS 5.9 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Gitea >= 1.26.0, <= 1.27.2 after 1.27.2 Fixed

Affected products

ProductAffected versionsFixed in
Gitea >= 1.26.0, <= 1.27.2 No fix listed

References