{
  "id": "CVE-2026-22874",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22874",
  "published_at": "2026-07-03T20:19:31.006Z",
  "title": "Gitea webhook and migration allow-list filtering permits SSRF",
  "vendor": "Gitea",
  "product": "Gitea Open Source Git Server",
  "cvss": {
    "score": 9.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Gitea versions up to and including 1.26.2 have incomplete SSRF protection in webhook and migration allow-list filtering.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 9.6
  },
  "repos": [
    {
      "repo": "M8seven/cve-2026-22874-gitea-ssrf-allowlist",
      "url": "https://github.com/M8seven/cve-2026-22874-gitea-ssrf-allowlist",
      "created_at": "2026-07-04T21:42:18Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 2,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-01-11T21:09:52Z"
    },
    {
      "repo": "Eliot-code/CVE-2026-22874-PoC",
      "url": "https://github.com/Eliot-code/CVE-2026-22874-PoC",
      "created_at": "2026-07-05T16:30:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-05-30T04:10:02Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Gitea",
        "product": "Gitea Open Source Git Server",
        "ranges": [
          "\u003c= 1.26.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "code.gitea.io/gitea",
        "ranges": [
          "\u003c 1.26.3"
        ],
        "fixed_in": [
          "1.26.3"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-2r5c-gw76-rh3w"
      }
    ],
    "upgrade": [
      "Upgrade code.gitea.io/gitea to 1.26.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-2r5c-gw76-rh3w"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/38173"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/38059"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/go-gitea/gitea/releases/tag/v1.26.3"
      },
      {
        "kind": "Release notes",
        "url": "https://blog.gitea.com/release-of-1.26.3-and-1.26.4/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
