{"id":"CVE-2026-59774","aliases":["CVE-2026-59774"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea Org-mode file disclosure and code execution","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T14:28:25.862Z","modified":"2026-10-15T04:18:24.663Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"1.22","fixed":"1.27.1","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/38642","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-1.27.1/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/38645","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.1","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/10/3","tags":[],"sources":["cvelist","nvd"]}],"credits":["https://github.com/fedek-xbow","https://github.com/xbow-security","https://github.com/gleo-xbow","https://github.com/NightRang3r"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-14T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59774","url":"https://www.cve.org/CVERecord?id=CVE-2026-59774","licence":"CVE Terms of Use","modified":"2026-10-15T03:56:54.937Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59774","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59774","licence":"Public domain","modified":"2026-10-15T04:18:24.663Z"}],"updatedAt":"2026-11-25T22:59:44.669Z","epss":{"score":0.26983,"percentile":0.98077,"date":"2026-12-01T12:00:22.000Z"}}