CVE Catalog

CVE-2026-73539

Unknown
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can achieve remote code execution in the context of the Gitea service account, leading to full server compromise and access to all repositories and data. The risk is especially high when the markup endpoint is publicly reachable without authentication.

Recommendation

Update Gitea to a version containing the fix, and until then restrict access to public markup endpoints and consider disabling external renderers such as pandoc. Verify that no unauthorized filter files exist in accessible paths.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

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