{
  "id": "CVE-2026-123638",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-123638",
  "published_at": "2026-11-15T21:14:03.522Z",
  "title": "Gitea protected file pattern bypass with quoted file names",
  "vendor": "Gitea",
  "product": "Gitea",
  "cvss": {
    "score": 8.3,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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": "The \"Protected file patterns\" setting of a branch protection rule was checked against file names as git prints them, and git quotes names that contain a double quote, a backslash or a control character. Such names never matched a pattern, so a user with write access could add or change files under a protected pattern by direct push or through a pull request merge, and could move a protected file out of the pattern's reach by renaming it. Where the patterns protect workflow files, this allowed adding a workflow that then ran on the repository's runners. Changed files are now listed unquoted, and a rename reports both the old and the new path.",
  "cwe": "CWE-693",
  "cvss_by_source": {
    "cisa-adp": 8.3
  },
  "repos": [],
  "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-w87g-xmrp-86v2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/40362"
      },
      {
        "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": []
}
