Critical Gitea Vulnerability Lets Attackers Steal Server Files Without Logging In
A serious security flaw has been found in Gitea, a popular self-hosted platform businesses use to manage source code and Git repositories. The vulnerability affects versions 1.22.1 through 1.27.0 and allows an attacker with no login credentials and no special access to read any file that the Gitea service account can reach on the server.
What makes this flaw particularly concerning is how little is required to exploit it. An attacker simply needs access to a public repository and the ability to craft specially formatted Org-mode markup content. There's no need for a valid account, password, or write permissions—making this an easy target for opportunistic attackers scanning the internet for vulnerable systems.
The issue, tracked as CVE-2026-59774, has been rated Critical with a CVSS score of 9.8 out of 10, reflecting the severity and ease of exploitation. Gitea has released a fix in version 1.27.1, and any business running an affected version should treat this as an urgent priority for patching, since exposed server files could include configuration data, credentials, or other sensitive information.