Vulnerability details
CVE-2026-59774
Gitea Gitea
Gitea Org-mode file disclosure and code execution
CVSS 3.1
9.8Critical
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.8Critical | 3.1 | CISA ADP / Vulnrichment (CISA-ADP) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| Gitea | Gitea | 1.22 ≤ v < 1.27.1 | CVEProject cvelistV5 (CNA) |
References and advisories
6- https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r vendor-advisory
- https://github.com/go-gitea/gitea/pull/38642 patch
- https://blog.gitea.com/release-of-1.27.1/ release-notes
- https://github.com/go-gitea/gitea/pull/38645 patch
- https://github.com/go-gitea/gitea/releases/tag/v1.27.1 release-notes
- http://www.openwall.com/lists/oss-security/2026/08/10/3
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-10-14
- Last updated
- 2026-10-15
- State
- Published
- Assigner (CNA)
- Gitea
- Kolun priority
- 39 · Medium
Exploit prediction (EPSS)
28.3%
Probability of exploitation in 30 days
98.1%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')