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.
{
"cna_assigner": "Gitea",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59774.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.22"
},
{
"fixed": "1.27.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "v1.27.1",
"range": [
{
"fixed": "a62dfffbe7d3a454c2f2d3c4b2788ba432724a5f"
}
],
"source": "REFERENCES_TAG"
}
]
}