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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 23 Jan 2026 08:00:00 +0900

Type Values Removed Values Added
Description 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.
Title Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
Weaknesses CWE-284
CWE-639
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-01-22T22:01:52.026Z

Reserved: 2026-01-08T23:02:37.548Z

Link: CVE-2026-20912

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-22T22:16:19.297

Modified: 2026-01-22T22:16:19.297

Link: CVE-2026-20912

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses