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.
Published: 2026-10-14
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Bypass of required workflow checks allowing unauthorized merges
Action: Patch immediately
AI Analysis

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.

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

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 yet.

History

Sat, 17 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 16:30:00 +0000

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'}


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

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T15:12:51.792Z

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

Link: CVE-2026-66874

cve-icon Vulnrichment

Updated: 2026-10-14T15:12:48.603Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-14T16:17:50.407

Link: CVE-2026-66874

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T19:30:06Z

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