{"id":"CVE-2026-59774","title":"Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files","summary":"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 acces…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-22"],"published":"2026-10-14","updated":"2026-10-14","sourceUpdated":"2026-10-14T16:17:46.350","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-59774","references":[{"url":"https://blog.gitea.com/release-of-1.27.1/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/38642","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/38645","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.1","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/10/3","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd","exploit-available"],"exploits":{"github":1,"githubRepos":["https://github.com/FlowerWitch/CVE-2026-59774_docker"],"metasploit":["auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774"],"nuclei":["CVE-2026-59774"],"checkedAt":"2026-10-14T16:41:07.240Z"},"exploitAvailable":true,"ingestedAt":"2026-10-14T15:36:14.021Z","slug":"CVE-2026-59774","body":"## Overview\n\nGitea'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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"abyssal","depthScore":66,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":220324,"id":"CVE-2026-59774","ts":1791996225929,"field":"cvss","old":null,"new":"9.8"},{"seq":220323,"id":"CVE-2026-59774","ts":1791996225929,"field":"severity","old":"none","new":"critical"}]}