CVE-2026-59774 Gitea Org-mode file disclosure and code execution
CriticalCVSS 9.8
EPSS 28.3%
Framework module
Scanner template
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | >= 1.22, < 1.27.1 | 1.27.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | >= 1.22, < 1.27.1 | 1.27.1 |
References
- GitHub Security Advisory GHSA-6v53-hr58-556r vendor-advisory
- Fix: go-gitea/gitea pull request #38642 patch
- Gitea 1.27.1 release announcement release-notes
- Fix: go-gitea/gitea pull request #38645 patch
- go-gitea/gitea v1.27.1 release release-notes
- www.openwall.com
- ENISA EUVD EUVD-2026-101281 third-party-advisory