nday
CVE-2026-63346 GHSA-58x9-vjvp-6mx8

Refitter: C# source injection through OpenAPI header parameter names

christianhelle / refitter

公開から 22 日後に PoC が確認されています。修正済みバージョンは Refitter 2.1.2 です。PoC ソース 4 件中 1 件(github)に掲載されています。CISA KEV には現時点で未掲載です。

tags weakness typecode injection accessnetworkno authentication required ecosystemNuGet
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by the CNA GitHub_M、NVD, republishing [email protected]、GitHub advisory GHSA-58x9-vjvp-6mx8
network
AV:N in 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 (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA GitHub_M
NuGet
GHSA-58x9-vjvp-6mx8: nuget packages Refitter
現在の段階
POC
公開日時
公開から PoC まで
T+22d POC は日付のみ
CVSS 基本値
8.6 HIGH v4.0

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
10-30T22:17Z
PAT修正
11-20T01:04Z
ANA解析
記録なし
POCPoC
11-21 日付のみ
ITW悪用
記録なし
KEVKEV
記録なし

概要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:A
Active: a user must deliberately do something specific, such as install or run a file or dismiss a warning

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

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 8.6(重要)。CISA の SSVC 評価では悪用状況(Exploitation)が poc。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 436805,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-63346",
  "occurred_at": "2026-10-30T22:17:02.231Z",
  "observed_at": "2026-11-13T05:40:01.626611Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "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",
      "version": "4.0",
      "base_score": 8.6,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-02T14:46:50.420778Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T22:17:02.231Z",
    "assigner_short_name": "GitHub_M"
  }
}
ソースに時刻なし、nday が観測
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:Refitter 2.1.2。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-58x9-vjvp-6mx8 · nday が にリアルタイムで観測 · 生データ
{
  "id": 492295,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-58x9-vjvp-6mx8",
  "occurred_at": null,
  "observed_at": "2026-11-20T01:04:39.062031Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-58x9-vjvp-6mx8",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 9.3,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
      }
    },
    "cwes": [
      {
        "name": "Improper Control of Generation of Code",
        "cwe_id": "CWE-94"
      },
      {
        "name": "Improper Encoding or Escaping of Output",
        "cwe_id": "CWE-116"
      }
    ],
    "ghsa_id": "GHSA-58x9-vjvp-6mx8",
    "packages": [
      {
        "name": "Refitter",
        "ecosystem": "nuget",
        "first_patched_version": "2.1.2",
        "vulnerable_version_range": "< 2.1.2"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/christianhelle/refitter/security/advisories/GHSA-58x9-vjvp-6mx8",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-63346",
      "https://github.com/christianhelle/refitter/pull/1178",
      "https://github.com/christianhelle/refitter/commit/63a19b03699a9c267d6fab5f758ec26484db83a1",
      "https://github.com/christianhelle/refitter/releases/tag/2.1.2",
      "https://github.com/user-attachments/files/29395048/maintainer-report.txt",
      "https://github.com/user-attachments/files/29395050/make_spec.py",
      "https://github.com/user-attachments/files/29395051/reproduce.sh",
      "https://github.com/advisories/GHSA-58x9-vjvp-6mx8"
    ],
    "fix_commit_urls": [
      "https://github.com/christianhelle/refitter/pull/1178",
      "https://github.com/christianhelle/refitter/commit/63a19b03699a9c267d6fab5f758ec26484db83a1"
    ],
    "github_reviewed_at": "2026-11-20T00:06:28Z",
    "advisory_updated_at": "2026-11-20T00:06:31Z",
    "source_code_location": "https://github.com/christianhelle/refitter",
    "advisory_published_at": "2026-11-20T00:06:28Z"
  }
}
2026-11-21日付のみ、ソース記載
+POCPoC 公開

GitHub の PoC リポジトリ:googlesky/CVE-2026-63346。日付はリポジトリの作成日。

出典 github 1466291419 · nday が にリアルタイムで観測 · 生データ
{
  "id": 498651,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-63346",
  "occurred_at": "2026-11-21T07:21:41Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466291419",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-63346",
    "title": "googlesky/CVE-2026-63346",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.