---
id: CVE-2026-96580
title: >-
  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
summary: >-
  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
  submi…
severity: none
cwe:
  - CWE-400
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev <= 1.27.3
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T20:17:35.600'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96580'
references:
  - url: 'https://blog.gitea.com/release-of-28.0.0/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39295'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v28.0.0'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-p3rv-cr5f-9gjh'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T20:16:42.493Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
