本文へ移動

#CVE-2026-63346

脆弱性の一覧へ戻る

編集部の見出し:Refitter 2.1.2 未満:OpenAPI のヘッダーのパラメータ名から生成コードに任意のコードを混ぜられ、起動時に動く

CVE(NVD)CVSS 8.6 HighEPSS 0.4%

NVD の情報

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("<name>")]` 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.

公開日
2026-10-30
最終更新(NVD)
2026-11-02
NVD の状態
Deferred
脆弱性の種類
CWE-116、CWE-94

深刻度(CVSS)

  • 8.6 HighCVSS 4.0/副/評価:security-advisories@github.comCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

EPSS:今後30日に悪用される推定確率 0.35%(全体の上位 70.7%、評価日 2026-11-19)

解消方法

  • Refitter のバージョンアップ2.1.2 以降根拠:公告(編集部の転記)

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-20 のレポートRefitter 2.1.2 未満:OpenAPI のヘッダーのパラメータ名から生成コードに任意のコードを混ぜられ、起動時に動く

同じ型の件で、入口はヘッダーのパラメータ名。GHSA-58x9-vjvp-6mx8(公告表示 9.3、報告者の推定)。

公告に記載の修正版

参照(NVD)

NVD から取得:2026-11-20T00:50:19.264Z/EPSS 評価日:2026-11-19

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。