CVE-2026-59774criticalobserved exploitationCWE-22

CVE-2026-59774: critical vulnerability in Gitea

Gitea Org-mode file disclosure and code execution

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

90Vexday Risk Score

Patch now. It exploitation observed in the wild, has an official Brazilian government alert and has a working public exploit.

ssvc Actcvss 9.8epss 27%
from disclosure to weaponsame day
Published on NVDOct 14
1st PoCAug 6
metasploitJul 30
Observed exploitation+1d
Official alert in Brazil

Brazil's federal government published an alert, recommendation or bulletin that cites this vulnerability.

Source: CTIR Gov (GSI) and CISC Gov.br, under the CC BY-ND 3.0 license.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Gitea · Gitea
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.