Security mailing lists by PureSourceCode

CVE-2026-20736

HIGH 7.5CVSS 3.1

Gitea has improper access control for uploaded attachments

Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they can access.

Published
22 Jan 2026
Last modified
15 Jul 2026
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
NVD status
Modified
Weakness
CWE-284
Also known as
BIT-gitea-2026-20736GHSA-hgr3-x44x-33hxGHSA-jr6h-pwwp-c8g6GO-2026-4367
Sources
NVDJSONOSV GHSA-hgr3-x44x-33hxJSONOSV GO-2026-4367JSON

Scores

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