CVE Catalog

CVE-2026-59774

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

Gitea's Org-mode markup renderer processes INCLUDE directives without preventing access to server-side files, allowing an unauthenticated attacker to read files accessible to the Gitea service account and potentially execute commands via Git hook modification.

Risk Assessment

An attacker can access sensitive server files and take control of the Gitea service, leading to full system compromise.

Recommendation

Upgrade Gitea to a patched version and restrict access to the repository markup endpoint.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS