{
  "id": "CVE-2026-63346",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63346",
  "published_at": "2026-10-30T22:17:02.231Z",
  "title": "Refitter: C# source injection through OpenAPI header parameter names",
  "vendor": "christianhelle",
  "product": "refitter",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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": "Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, the header parameter name in `parameters[].name` with `in: header` is emitted verbatim into a Refit `[Header(\"\u003cname\u003e\")]` attribute string without escaping quotation marks. An attacker-influenced OpenAPI description can pass default validation without `--skip-validation` and break out from the parameter-list position by closing the parameter and method syntax, attribute, interface, and namespace. The generated file can remain valid C# while containing a top-level file class with a `[ModuleInitializer]` method, which executes attacker code when the compiled assembly is loaded at application startup, even if the client is never called. Query `AliasAs` and enum/default value sinks are escaped; this flaw is in header-name attribute-string emission. The behavior was verified with Refitter 2.0.0 and .NET 8. This issue is fixed in version 2.1.2.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "christianhelle",
        "product": "refitter",
        "ranges": [
          "\u003c 2.1.2"
        ],
        "fixed_in": [
          "2.1.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade refitter to 2.1.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/christianhelle/refitter/security/advisories/GHSA-58x9-vjvp-6mx8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/christianhelle/refitter/pull/1178"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/christianhelle/refitter/commit/63a19b03699a9c267d6fab5f758ec26484db83a1"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/christianhelle/refitter/releases/tag/2.1.2"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/user-attachments/files/29395051/reproduce.sh",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
