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.
Published: 2026-10-14
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Update Gitea
AI Analysis

Impact

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. If a susceptible external renderer such as pandoc is available, an attacker 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 is reachable without authentication, enabling remote exploitation. The vulnerability is classified under CWE-88 as an improper handling of an injected type.

Affected Systems

The vulnerability affects Gitea installations that enable external renderers such as pandoc before the release of version 1.27.2. All prior versions are vulnerable; the 1.27.2 release includes the fix. Users running older Gitea instances should update or disable the external renderer feature.

Risk and Exploitability

The CVSS score is not listed in the input, and the EPSS score is <1%, but the vulnerability is not currently indexed in the CISA KEV catalog. Given that the public markup endpoint can be accessed without authentication, exploitation is feasible by any internet-connected attacker who can craft a malicious Context field. The attacker must only supply a path to a filter file they can write to a location reachable by the Gitea process. Once the external renderer runs, arbitrary code would execute under the privileges of the Gitea service account, giving the attacker local root-like access to the underlying host. The absence of a KEV listing does not preclude exploitation; it simply indicates no known large-scale campaigns have been observed yet.

Generated by OpenCVE AI on October 15, 2026 at 20:02 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.2 or later to apply the vendor fix.
  • If an upgrade is not immediately possible, disable the external renderer feature or remove configuration of external renderers such as pandoc.
  • Restrict or remove public access to the repository markup endpoint, requiring authentication so that only authorized users can submit markup with a Context field.
  • Prevent unauthorized write access to directories from which external renderers load filter files, limiting the attacker’s ability to place malicious files.

Generated by OpenCVE AI on October 15, 2026 at 20:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Gitea external renderer argument injection and code execution
Weaknesses CWE-88
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T14:37:44.243Z

Reserved: 2026-08-13T16:50:59.746Z

Link: CVE-2026-73539

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:23.633

Modified: 2026-10-14T16:04:39.483

Link: CVE-2026-73539

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T20:15:16Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')