Skip to content
Heist/ feed
Back to feed
HighFix available

Gitea Actions memory exhaustion through large static matrices

Type: advisorySources: OSV

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.

Products
gitea
Affected versions
Not specified
Fixed versions
28.0.0
CVEs
CVE-2026-96580
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:05 UTC · Revision 1

Source evidence

Gitea Actions memory exhaustion through large static matrices

core-osv · Original source

Published 14 Oct 2026, 08:43 UTC

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.

osv:BIT-gitea-2026-96580

gitea

Fixed versions: 28.0.0

Complete source record
{
  "id": "a8f558abd6827c4acd1b59dc99e6d0b0f6db7d18d201f40681ee3e67e6cf8ea4",
  "url": "https://osv.dev/vulnerability/BIT-gitea-2026-96580",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gitea Actions memory exhaustion through large static matrices",
    "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 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.",
    "evidence": "osv:BIT-gitea-2026-96580",
    "products": [
      {
        "name": {
          "value": "gitea",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "28.0.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-gitea-2026-96580",
      "aliases": [
        "BIT-gitea-2026-96580",
        "CVE-2026-96580",
        "GHSA-p3rv-cr5f-9gjh"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "28.0.0"
                }
              ]
            }
          ],
          "package": {
            "name": "gitea",
            "purl": "pkg:bitnami/gitea",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/gitea/BIT-gitea-2026-96580.json"
          }
        }
      ],
      "modified": "2026-10-14T11:10:41.681531878Z",
      "provider": "osv",
      "references": [
        "https://blog.gitea.com/release-of-28.0.0/",
        "https://github.com/go-gitea/gitea/pull/39295",
        "https://github.com/go-gitea/gitea/releases/tag/v28.0.0",
        "https://github.com/go-gitea/gitea/security/advisories/GHSA-p3rv-cr5f-9gjh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-96580"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-96580",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 316228,
  "published_at": "2026-10-14T08:43:14.885+00:00"
}