CVE-2026-59774Gitea Org-mode file disclosure and code execution
Updated under an hour ago ()
Does this affect you?
It affects Gitea. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 28.31%, higher than 98% of scored CVEs. That is high: schedule it on your emergency patch path.
Do this next
Free account, 1 product
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.
- CVSS
- 9.8 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-22
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 28.31% (percentile 98)
- Assigned by
- Gitea
- NVD analysis
- Deferred
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 14, 2026
Affected products
Gitea Gitea gitea:gitea (from the name) | from 1.22 before 1.27.1 | CNA record |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556rvendor-advisory
- https://github.com/go-gitea/gitea/pull/38642patch
- https://blog.gitea.com/release-of-1.27.1/release-notes
- https://github.com/go-gitea/gitea/pull/38645patch
- https://github.com/go-gitea/gitea/releases/tag/v1.27.1release-notes
- http://www.openwall.com/lists/oss-security/2026/08/10/3
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.