Paper/Archive/CVE-2026-59774

CVE-2026-59774

Gitea Gitea — Gitea Org-mode file disclosure and code execution

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Gitea1.22 – < 1.27.11.27.1CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556rpatchgithub.com/go-gitea/gitea/pull/38642refblog.gitea.com/release-of-1.27.1patchgithub.com/go-gitea/gitea/pull/38645refgithub.com/go-gitea/gitea/releases/tag/v1.27.1refopenwall.com/lists/oss-security/2026/08/10/3