nday
CVE-2026-63345 GHSA-3fhm-p725-h3g3

Refitter: C# source injection through OpenAPI path keys

christianhelle / refitter

揭露 22 天後出現公開 PoC。已於 Refitter 2.1.2 修補。4 個 PoC 來源中有 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-3fhm-p725-h3g3
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-3fhm-p725-h3g3: nuget packages Refitter
目前階段
POC
揭露時間
揭露 → 公開 PoC
T+22d POC 僅有日期
CVSS
8.6 HIGH v4.0

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
10-30T22:13Z
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, OpenAPI paths-object keys are emitted verbatim into Refit route attributes such as [Get("<path>")] without escaping quotation marks or restricting characters. An attacker-influenced single-line, slash-prefixed path survives default validation without --skip-validation and can close the attribute string, interface, and namespace while introducing a top-level file class and reopening the generated structure to keep valid C#. A [ModuleInitializer] method executes attacker code when an application compiles and loads the generated assembly at startup, even without calling the generated client. The enum and default value sinks are escaped and are not the vulnerable path-emission sink. The behavior was verified on Refitter 2.0.0 with .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揭露

CVE 紀錄由 GitHub_M 發布。CVSS 8.6,屬高風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 436804,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-63345",
  "occurred_at": "2026-10-30T22:13:53.498Z",
  "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-02T17:09:18.405090Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T22:13:53.498Z",
    "assigner_short_name": "GitHub_M"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:Refitter 2.1.2。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-3fhm-p725-h3g3 · nday 於 即時觀測 · 原始
{
  "id": 492293,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-3fhm-p725-h3g3",
  "occurred_at": null,
  "observed_at": "2026-11-20T01:04:39.062031Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-3fhm-p725-h3g3",
  "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": "Inaccurate Source Code Comments",
        "cwe_id": "CWE-1116"
      }
    ],
    "ghsa_id": "GHSA-3fhm-p725-h3g3",
    "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-3fhm-p725-h3g3",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-63345",
      "https://github.com/christianhelle/refitter/pull/1178",
      "https://github.com/christianhelle/refitter/commit/793d2632899c2022511dfc15e30725ef69073973",
      "https://github.com/christianhelle/refitter/releases/tag/2.1.2",
      "https://github.com/user-attachments/files/29395228/maintainer-report.txt",
      "https://github.com/user-attachments/files/29395229/make_spec.py",
      "https://github.com/user-attachments/files/29395230/reproduce.sh",
      "https://github.com/advisories/GHSA-3fhm-p725-h3g3"
    ],
    "fix_commit_urls": [
      "https://github.com/christianhelle/refitter/pull/1178",
      "https://github.com/christianhelle/refitter/commit/793d2632899c2022511dfc15e30725ef69073973"
    ],
    "github_reviewed_at": "2026-11-20T00:06:04Z",
    "advisory_updated_at": "2026-11-20T00:06:06Z",
    "source_code_location": "https://github.com/christianhelle/refitter",
    "advisory_published_at": "2026-11-20T00:06:04Z"
  }
}
2026-11-21僅日期,由來源提供
+POC公開 PoC

GitHub 上的 PoC 儲存庫:googlesky/CVE-2026-63345。日期為儲存庫的建立日。

來源 github 1466288790 · nday 於 即時觀測 · 原始
{
  "id": 498652,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-63345",
  "occurred_at": "2026-11-21T07:18:00Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466288790",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-63345",
    "title": "googlesky/CVE-2026-63345",
    "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.