Description
Gitea expanded a workflow's static `strategy.matrix` into its full Cartesian product without a size limit when creating a run, before the fork pull request approval gate applied. A user who can open a pull request from a fork could submit a small workflow file whose matrix expands to a very large number of jobs, consuming server memory and potentially terminating the Gitea process. No runner is required. Static matrices above 256 combinations are now rejected before expansion.
Weaknesses
- CWE-400 — CWE-400: Uncontrolled Resource Consumption
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 to <=1.27.3 |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-p3rv-cr5f-9gjh (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/39295 (patch)
- https://blog.gitea.com/release-of-28.0.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0 (release-notes)
Generated from the official CVE List on 07 Oct 2026 10:16 UTC.