CVE Catalog

CVE-2026-66874

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Summary

In Gitea, for pull request events the workflow definition is read from the pull request head, and a synthetic skipped status is posted when branch or path filters exclude execution. A fork pull request author can supply a workflow matching a required status context while deliberately preventing it from running, and skipped statuses count as success.

Risk Assessment

Branch protection or organization-required workflow checks can appear satisfied even though the mandated workflow never executed, allowing code quality and security gates to be bypassed without maintainer approval.

Recommendation

Update Gitea to a version containing the fix and verify that skipped statuses are not treated as success in branch protection and required workflow rules.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS