CVE-2026-59774Gitea Org-mode file disclosure and code execution
- 9.8CriticalCVSS base score
- 28.3%Exploitation in 30 daysEPSS · top 1.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it.
Show the exploits2
Metasploit modules1 module
- Forgejo Arbitrary File Read via Org-mode Include (Metasploit module) (opens in a new tab)
auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774Rank normaldisclosed 30 Jul 2026
Nuclei templates1 template
- Gitea 1.22.1-1.27.0 - Unauthenticated Arbitrary File Read (Nuclei template) (opens in a new tab)
http/cves/2026/CVE-2026-59774.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By Gitea
- 3 months later
· 3 months later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 28.3% · top 1.9% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
References
References6
- GitHub Security Advisory GHSA-6v53-hr58-556r (opens in a new tab)vendor-advisory
- Fix: go-gitea/gitea pull request #38642 (opens in a new tab)patch
- Gitea 1.27.1 release announcement (opens in a new tab)release-notes
- Fix: go-gitea/gitea pull request #38645 (opens in a new tab)patch
- go-gitea/gitea v1.27.1 release (opens in a new tab)release-notes
- http://www.openwall.com/lists/oss-security/2026/08/10/3 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-101281 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-59774)Record last updated .