CVE-2026-66874 Details
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.
A vulnerability in Gitea's handling of Actions workflows for pull requests allows fork authors to bypass required status checks. When a workflow is excluded by branch or path filters, Gitea posts a 'skipped' status that counts as a success. This means that a required check can appear satisfied without actually running, potentially allowing code to be merged into protected branches without proper oversight. The issue affects Gitea versions through 1.27.2 and has been patched in version 1.27.3.
Users are advised to upgrade to Gitea version 1.27.3, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 14, 2026CISA-ADP
Assessed Oct 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.27.3/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/39005 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/pull/39018 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.27.3 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-5xp7-r6cr-39ff | Gitea Limited | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | Gitea Limited |
| CWE-345 | Insufficient Verification of Data Authenticity | Gitea Limited |
| CWE-693 | Protection Mechanism Failure | Gitea Limited |
| CWE-807 | Reliance on Untrusted Inputs in a Security Decision | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | <= 1.27.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2026 | New CVE Received | Gitea Limited |
Volerion