{"id":"CVE-2026-59774","state":"PUBLISHED","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.","publishedAt":"2026-10-14T14:28:25.862Z","updatedAt":"2026-10-15T03:56:54.937Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.22","status":"affected","lessThan":"1.27.1","versionType":"semver"}]}],"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","http://www.openwall.com/lists/oss-security/2026/08/10/3"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59774.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59774","state":"PUBLISHED","datePublished":"2026-10-14T14:28:25.862Z","dateUpdated":"2026-10-15T03:56:54.937Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-07-08T09:19:07.145Z"},"containers":{"cna":{"title":"Gitea Org-mode file disclosure and code execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.22","status":"affected","lessThan":"1.27.1","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","name":"GitHub Security Advisory GHSA-6v53-hr58-556r","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/38642","name":"Fix: go-gitea/gitea pull request #38642","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-1.27.1/","name":"Gitea 1.27.1 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/pull/38645","name":"Fix: go-gitea/gitea pull request #38645","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.1","name":"go-gitea/gitea v1.27.1 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","type":"CWE","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-10-14T14:28:25.862Z"},"credits":[{"lang":"en","value":"https://github.com/fedek-xbow","type":"coordinator"},{"lang":"en","value":"https://github.com/xbow-security","type":"reporter"},{"lang":"en","value":"https://github.com/gleo-xbow","type":"analyst"},{"lang":"en","value":"https://github.com/NightRang3r","type":"reporter"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/08/10/3"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-14T15:13:47.589Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-59774"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T03:56:54.937Z"}}]}}}