CVE-2026-59774
CVE-2026-59774 · Gitea Org-mode file disclosure and code execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 9.8 · Critical · EPSS 28.3% · Public exploit · Fix available
- Published
- Updated
Affected products and versions
gitea
- Versions
- ≥ 1.22, < 1.27.1: Affected (semver)
Update to 1.27.1
Original sources
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r
- https://github.com/go-gitea/gitea/pull/38642
- https://blog.gitea.com/release-of-1.27.1/
- https://github.com/go-gitea/gitea/pull/38645
- https://github.com/go-gitea/gitea/releases/tag/v1.27.1
- http://www.openwall.com/lists/oss-security/2026/08/10/3
- https://nvd.nist.gov/vuln/detail/CVE-2026-59774