CVE-2026-59774 go-gitea Gitea - Unauthenticated Arbitrary File Read

go-gitea Gitea versions 1.22.1 through 1.27.0 contain a path traversal vulnerability due to improper initialization of the go-org markup renderer's ReadFile callback, allowing unauthenticated attackers to read arbitrary files accessible to the service user.

CVSS base score 9.8 /10
Critical
CISA KEV
Exploited in the wild
Public exploit
Proof of concept available
Authentication
Not required
View the NVD record ↗

Details

Type
Unauthenticated Arbitrary File Read
Impact
Information Disclosure, File System Read
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
14 October 2026
Updated
15 October 2026
Weakness
CWE-22

Vendor fix

Update to Gitea version 1.27.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs