---
id: CVE-2026-66874
title: >-
  For pull request events, Gitea reads workflow definitions from the pull
  request head and posts a synthetic skipped status when workflow branch or path
  filters exclude execution
summary: >-
  For pull request events, Gitea reads workflow definitions from the pull
  request head and posts a synthetic skipped status when workflow branch or path
  filters exclude execution. A fork pull request author can supply a workflow
  matching a…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-284
  - CWE-345
  - CWE-693
  - CWE-807
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:17:50.407'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66874'
references:
  - url: 'https://blog.gitea.com/release-of-1.27.3/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39005'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39018'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v1.27.3'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-5xp7-r6cr-39ff'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.024Z'
---

## Overview

For pull request events, Gitea reads workflow definitions from the pull request head and posts a synthetic skipped status when workflow branch or path filters exclude execution. A fork pull request author can supply a workflow matching a required status context but deliberately prevent it from running. Because skipped statuses count as success, branch protection or organization-required workflow checks can appear satisfied without the mandated workflow executing; no runner or maintainer approval is required for this path.

## Remediation

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