{
  "id": "CVE-2026-125423",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-125423",
  "published_at": "2026-11-15T21:10:23.428Z",
  "title": "Gitea command execution through repository auto-initialization",
  "vendor": "Gitea",
  "product": "Gitea",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "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": "A repository created with auto-init accepted pushes before its initialization had finished, and the initial commit was built in a checkout of whatever the repository already contained. A user who is allowed to create repositories could push a crafted tree during that window so that writing the README followed a symbolic link and overwrote a server-side git hook, which runs commands as the Gitea system user. The initial commit is now built in a freshly initialized directory, and a new repository only becomes ready, and accepts pushes, once its initialization is complete.",
  "cwe": "CWE-59",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "grigorovichvlad/CVE-2026-125423",
      "url": "https://github.com/grigorovichvlad/CVE-2026-125423",
      "created_at": "2026-11-16T09:43:55Z",
      "first_seen_at": "2026-11-17T08:48:45.719Z",
      "stars": 0,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2022-11-02T18:42:50Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Gitea",
        "product": "Gitea",
        "ranges": [
          "\u003c 28.4.0"
        ],
        "fixed_in": [
          "28.4.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Gitea to 28.4.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/40376"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/40383"
      },
      {
        "kind": "Release notes",
        "url": "https://blog.gitea.com/release-of-28.4.0/"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/go-gitea/gitea/releases/tag/v28.4.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
