CVE-2026-59774
Gitea Org-mode file disclosure and code execution
Reported by gitea · Published October 14, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gitea | Alpine | 1.27.1-r0 |
| gitea.dev | Gitea | 1.27.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 1.22 |
| alpine | gitea | 0 |
| Gitea | Gitea | 1.22 |
Timeline
- Aug 24, 2026 PoC Published
- Oct 14, 2026 CVE Published
- Oct 15, 2026 VulnCheck KEV Exploitation
- Oct 15, 2026 EPSS Score
- Oct 21, 2026 VulnCheck XDB Entry (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-59774
vulnetix vdb fixes CVE-2026-59774
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-59774/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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
- http://www.openwall.com/lists/oss-security/2026/08/10/3 url