CVE-2026-59774: Vulnerability in Gitea

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

CWE-22

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Published
14 Oct 2026
Last change
15 Oct 2026

Affected products

Affected versions and the first fixed release

  • Gitea From 1.22 before 1.27.1. Fixed in 1.27.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related