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.
https://github.com/Ly0kha/CVE-2026-59774
https://github.com/FlowerWitch/CVE-2026-59774_docker
https://github.com/go-gitea/gitea/releases/tag/v1.27.1
https://github.com/go-gitea/gitea/pull/38645
https://github.com/go-gitea/gitea/pull/38642
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101281