Security mailing lists by PureSourceCode

CVE-2026-20912

CRITICAL 9.1CVSS 3.1

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

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.

Published
22 Jan 2026
Last modified
15 Jul 2026
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
NVD status
Modified
Weakness
CWE-283CWE-284
Also known as
BIT-gitea-2026-20912GHSA-4xx9-vc8v-87hvGHSA-vfmv-f93v-37mwGO-2026-4364
Sources
NVDJSONOSV GHSA-4xx9-vc8v-87hvJSONOSV GO-2026-4364JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitea gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
< 1.25.4 1.25.4
OSV Go github.com/go-gitea/gitea < 1.25.4 1.25.4
OSV Go code.gitea.io/gitea < 1.25.4 1.25.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 22 Jan 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.