---
id: CVE-2026-73800
title: >-
  Gitea resolves local reusable workflow files from a fork's head commit when a
  trusted base-branch workflow runs for a pull_request_target event
summary: >-
  Gitea resolves local reusable workflow files from a fork's head commit when a
  trusted base-branch workflow runs for a pull_request_target event. A fork
  author can modify a referenced reusable workflow so attacker-controlled code
  executes…
severity: none
cwe:
  - CWE-94
  - CWE-829
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:04:39.483'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73800'
references:
  - url: 'https://blog.gitea.com/release-of-1.27.2/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/38886'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/38897'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v1.27.2'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-r9ch-mqjm-g67v'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.030Z'
---

## Overview

Gitea resolves local reusable workflow files from a fork's head commit when a trusted base-branch workflow runs for a pull_request_target event. A fork author can modify a referenced reusable workflow so attacker-controlled code executes with the repository and organization secrets available to that event. Exploitation requires a base workflow that calls a local reusable workflow, and bypasses the intended separation between trusted base code and untrusted fork code.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
