← CVE Intelligence

CVE-2026-20912

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Gitea / Gitea Open Source Git Serveraffected 0 through 1.25.3

CWE

CWE-284, CWE-639

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

An access control flaw has been discovered in Gitea. 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.