CVE-2026-59774
published critical CVSS 3.1 · 9.8Gitea Org-mode file disclosure and code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.22 to < 1.27.1 · Other versions: unaffected | Affected | Not stated | Gitea |
| Alpine Linux | edge | gitea | Fixed | 1.27.1-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.22 to < 1.27.1 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- http://www.openwall.com/lists/oss-security/2026/08/10/3
- Gitea 1.27.1 release announcement https://blog.gitea.com/release-of-1.27.1/
- Fix: go-gitea/gitea pull request #38642 https://github.com/go-gitea/gitea/pull/38642
- Fix: go-gitea/gitea pull request #38645 https://github.com/go-gitea/gitea/pull/38645
- go-gitea/gitea v1.27.1 release https://github.com/go-gitea/gitea/releases/tag/v1.27.1
- GitHub Security Advisory GHSA-6v53-hr58-556r https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r
Provider assertions
3Gitea · cna
Gitea Org-mode file disclosure and code execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b61079519ad855ee1110c011aee828ebc8bc11d4f4079e741fcfc6c95fbbc54
- Ingested
- 15 Oct 2026, 13:18:33 UTC
- Source record
- Official CVE record