All reports
Medium

Gitea does not properly validate repository ownership when linking attachments to releases

Affected versions

Affected versions
<1.25.4
Fixed version
1.25.4
Affected versions
< 1.25.4
Fixed version
1.25.4

Exploitation

CVE-2026-20912

Probability of exploitation in the next 30 days: 0.46%

FIRST EPSS · 2026-11-20

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.

Links