CVE-2026-66874

Gitea required Actions check bypass through skipped workflows

Published Oct 14, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

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. The likely attack vector is a forked pull request created by a malicious contributor who supplies a custom workflow file designed to be filtered out, yet declares a required status context, thereby tricking the system into marking the PR as passing all required checks.

Affected Systems

Affected systems are hosted Gitea installations running any version prior to the patch released in Gitea 1.27.3. The vendor product identified is Gitea, and the fix is included in version 1.27.3 and later. All earlier releases that implement the same workflow status handling are potentially affected, especially those with active fork‑pull‑request activity.

Risk and Exploitability

The risk is moderate, with a CVSS score of 6.5, an EPSS score of less than 1% indicating a very low probability of exploitation, and it is not listed in the CISA KEV catalog. Once a fork PR contains a deliberately skipped workflow and the system interprets the skipped status as success, an attacker can merge code that has bypassed the required workflow checks. The exploitation requires only the ability to create a PR from a forked repository that hosts the malicious workflow file; no additional adversary privileges are needed beyond standard pull‑request creation privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later where this bug is fixed
  • If immediate upgrade is not possible, restrict required status checks for pull requests originating from forked repositories or enforce an additional mandatory maintainer approval step
  • Configure branch protection rules so that any skip status is treated as a failure or requires explicit review
  • Regularly audit merged pull requests for missing workflow executions and verify that all required checks completed successfully

Generated by OpenCVE AI on October 15, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Gitea required Actions check bypass through skipped workflows
Weaknesses CWE-284
CWE-345
CWE-693
CWE-807
References
Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-345

    Insufficient Verification of Data Authenticity

  • CWE-693

    Protection Mechanism Failure

  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 3:12 PM
Reserved
Aug 13, 2026, 4:50 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM