CVE-2026-59774: Vulnerability in Gitea
Critical. 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...
CWE-22
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-22
- Published
- 14 Oct 2026
- Last change
- 15 Oct 2026
Affected products
Affected versions and the first fixed release
- Gitea From 1.22 before 1.27.1. Fixed in 1.27.1
Advisories
Vendor and security advisories
- blog.gitea.com/release-of-1.27.1/
- github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r
- openwall.com/lists/oss-security/2026/08/10/3
Patches and fixes
Updates, commits and release notes
- github.com/go-gitea/gitea/pull/38642
- github.com/go-gitea/gitea/pull/38645
- github.com/go-gitea/gitea/releases/tag/v1.27.1
Related
- Gitea vulnerabilities Recent advisories, watch this product