漏洞描述
Gitea versions 1.22.1 through 1.27.0 initialize the go-org markup renderer without replacing its default ReadFile callback. An unauthenticated attacker can submit Org-mode markup containing an #+INCLUDE directive with an absolute path to the repository markup endpoint of any public repository, causing the server to read and render arbitrary files accessible to the Gitea service user.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-59774↗blog.gitea.comhttps://blog.gitea.com/release-of-1.27.1/↗github.comhttps://github.com/go-gitea/gitea/pull/38642↗github.comhttps://github.com/go-gitea/gitea/pull/38645↗github.comhttps://github.com/go-gitea/gitea/releases/tag/v1.27.1↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/08/10/3↗