{"id":"CVE-2026-59774","revision":"b3002ac1bc0347c4add46f45c77600b6","records":[{"revision":"b3002ac1bc0347c4add46f45c77600b6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59774","aliases":[],"title":"Gitea Org-mode file disclosure and code execution","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.","state":0,"publishedAt":"2026-10-14T14:28:25.862+00:00","modifiedAt":"2026-10-15T03:56:54.937+00:00","affected":[{"ecosystem":"Vendor product","name":"gitea.dev","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Gitea\",\n                    \"product\": \"Gitea\",\n                    \"packageName\": \"gitea.dev\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.22\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"1.27.1\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","https://github.com/go-gitea/gitea/pull/38642","https://blog.gitea.com/release-of-1.27.1/","https://github.com/go-gitea/gitea/pull/38645","https://github.com/go-gitea/gitea/releases/tag/v1.27.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59774","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59774","identifiers":["CVE-2026-59774"]},"retained":false,"historicalAffected":[]}],"coverage":[]}