CVE-2026-20912

CRITICAL9.1EPSS 0.02%

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

Published: 1/23/2026Modified: 2/3/2026
Also known as:GHSA-4xx9-vc8v-87hvGHSA-vfmv-f93v-37mwBIT-gitea-2026-20912GO-2026-4364

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
osvCVSS 3.1CRITICAL9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References (10)