CVE-2026-59774

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductGitea
PublishedOct 14, 2026
First seenOct 14, 2026

How to fix

Affected products

ProductAffected versionsFixed in
Gitea Gitea1.22 ≤ v < 1.27.11.27.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.