Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-1.27.1/
- https://github.com/go-gitea/gitea/pull/38642
- https://github.com/go-gitea/gitea/pull/38645
- https://github.com/go-gitea/gitea/releases/tag/v1.27.1
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r
- http://www.openwall.com/lists/oss-security/2026/08/10/3
FAQ
What is CVE-2026-59774?
CVE-2026-59774 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2026-59774?
CVE-2026-59774 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-59774?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.