CVE-2026-59774
9.8critical
Gitea Org-mode file disclosure and code execution
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 27.0% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | from 1.22 before 1.27.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59774 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2026-59774 changed 2026-10-15 | Public domain |