CVE-2026-59774
Gitea's Org-mode markup renderer processes INCLUDE directives …
Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.gitea.com/release-of-1.27.1/
- github.com/go-gitea/gitea/pull/38642
- github.com/go-gitea/gitea/pull/38645
- github.com/go-gitea/gitea/releases/tag/v1.27.1
- github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r
- www.openwall.com/lists/oss-security/2026/08/10/3
- nvd.nist.gov/vuln/detail/CVE-2026-59774
- cve.org/CVERecord?id=CVE-2026-59774
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.