# CVE-2026-59774: Gitea Org-mode file disclosure and code execution

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 27.0%, higher than 98% of CVEs (2026-12-01)
- Published: 2026-10-14T14:28:25.862Z
- Modified: 2026-10-15T04:18:24.663Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: from 1.22 before 1.27.1

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/38642> (patch)
- <https://blog.gitea.com/release-of-1.27.1/> (release-notes)
- <https://github.com/go-gitea/gitea/pull/38645> (patch)
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.1> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/08/10/3>

## Sources

- CVE List: [CVE-2026-59774](https://www.cve.org/CVERecord?id=CVE-2026-59774), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-59774](https://nvd.nist.gov/vuln/detail/CVE-2026-59774), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-59774 · Whole record: https://cve.day/CVE-2026-59774.json · Rebuilt by cve.day 2026-11-25T22:59:44.669Z
