CVE-2026-66874 Gitea required Actions check bypass through skipped workflows

Medium 6.5 Published Updated

Attackers can bypass required workflow checks in Gitea by submitting fork pull requests with skipped workflows, allowing unapproved code to merge.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-66874?

CVE-2026-66874 is a medium-severity vulnerability in Gitea, published on 14 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-807, CWE-693, CWE-345, CWE-284

Which versions are affected by CVE-2026-66874?

How do I fix CVE-2026-66874?

No fix has been published for CVE-2026-66874 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-66874 being exploited?

There is no known exploitation of CVE-2026-66874 in the wild and no public exploit code.

Sources

Also known as GHSA-5xp7-r6cr-39ff.

Is CVE-2026-66874 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free