CVE-2026-59774 in the critical feed json
Gitea Org-mode file disclosure and code execution
published 2026-10-14 26 d ago modified 2026-10-15 25 d ago also EUVD-2026-101281
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 28.3%
- EPSS 28.3% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Metasploit, plus a Nuclei check
Summary
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.
Patch / fix
- Gitea Gitea 1.27.1
- github.com/go-gitea/gitea#38642 pull request
- github.com/go-gitea/gitea#38645 pull request
- github.com/go-gitea/gitea/releases/tag/v1.27.1 release
Timeline
- First public exploit (Metasploit auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774)
- Published
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 26 d ago
Exploit prediction
28.31% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774 Forgejo Arbitrary File Read via Org-mode Include metasploit auxiliary, normal rank, 2026-07-30
- Nuclei template Gitea 1.22.1-1.27.0 - Unauthenticated Arbitrary File Read nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/go-gitea/gitea/pull/38642
patch
-
github.com
/go-gitea/gitea/pull/38645
patch
-
github.com
/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r
vendor-advisory
-
blog.gitea.com
/release-of-1.27.1/
release-notes
-
github.com
/go-gitea/gitea/releases/tag/v1.27.1
release-notes
- openwall.com /lists/oss-security/2026/08/10/3
Sources
- CVE List CVE-2026-59774
- NVD CVE-2026-59774
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.