CVE-2026-59774
Gitea Org-mode file disclosure and code execution
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | gitea |
| Product | gitea |
| Published | Oct 14, 2026 |
| Last Updated | Oct 14, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitea gitea
Be the first to know when new critical vulnerabilities affecting gitea gitea are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Gitea / Gitea
1.22 < 1.27.1
References
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r github.com: https://github.com/go-gitea/gitea/pull/38642 blog.gitea.com: https://blog.gitea.com/release-of-1.27.1/ github.com: https://github.com/go-gitea/gitea/pull/38645 github.com: https://github.com/go-gitea/gitea/releases/tag/v1.27.1 openwall.com: http://www.openwall.com/lists/oss-security/2026/08/10/3
Credits
https://github.com/fedek-xbow ๐ https://github.com/xbow-security https://github.com/gleo-xbow ๐ https://github.com/NightRang3r