Description
Gitea substitutes a URL derived from the markup Context field into external renderer command templates without escaping the reference path before shell-style argument splitting. A crafted Context can inject additional renderer arguments, including options that load executable filter files. On deployments using a susceptible external renderer such as pandoc, a user who can place a filter file at an accessible path can cause it to execute as the Gitea service account; the public repository markup endpoint itself can be reachable without authentication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | ≤ 1.27.1 | — |
Advisories 1
- WID-SEC-2026-2863 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory GHSA-579w-82gf-89m2 vendor-advisory
- Gitea 1.27.2 release announcement release-notes
- Fix: go-gitea/gitea pull request #38885 patch
- Fix: go-gitea/gitea pull request #38898 patch
- go-gitea/gitea v1.27.2 release release-notes