nday
CVE-2026-63344 GHSA-p32v-8v8j-j534

Refitter: C# source injection through OpenAPI content-type map keys

christianhelle / refitter

Preuve de concept publique parue 22 jours après la divulgation. Version corrigée : Refitter 2.1.2. Cette vulnérabilité figure dans une seule des 4 sources de PoC : github. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et GitHub advisory GHSA-p32v-8v8j-j534
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-p32v-8v8j-j534: nuget packages Refitter
étape actuelle
POC
divulgation
délai avant PoC
T+22d POC : date seule
CVSS
8.6 HIGH v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
10-30T22:15Z
PATcorrectif
11-20T01:04Z
ANAanalyse
aucune donnée
POCPoC
11-21, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, content-type keys in the content maps of requestBody/responses are emitted verbatim into a Refit [Headers("Accept: <ct>", "Content-Type: <ct>")] attribute string without escaping quotation marks. A crafted content-type key in an attacker-influenced OpenAPI description survives default validation without --skip-validation, breaks out of the attribute string and enclosing interface and namespace, and can introduce a top-level file class while leaving valid generated C#. A [ModuleInitializer] method in that class executes attacker code when the generated assembly is loaded at application startup, without requiring a call to the client. 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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 8.6, gravité élevée. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 12565,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-63344",
  "occurred_at": "2026-10-30T22:15:27.846Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "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-06T18:49:16.142621Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T22:15:27.846Z",
    "assigner_short_name": "GitHub_M"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée Refitter 2.1.2. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-p32v-8v8j-j534 · observé en direct par nday le · brut
{
  "id": 492306,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-p32v-8v8j-j534",
  "occurred_at": null,
  "observed_at": "2026-11-20T01:04:39.062031Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-p32v-8v8j-j534",
  "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-p32v-8v8j-j534",
    "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-p32v-8v8j-j534",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-63344",
      "https://github.com/christianhelle/refitter/pull/1178",
      "https://github.com/christianhelle/refitter/commit/ab4d8e439d6f0ee82ad49ee15323978d70fe5a67",
      "https://github.com/christianhelle/refitter/releases/tag/2.1.2",
      "https://github.com/user-attachments/files/29394848/reproduce.sh",
      "https://github.com/user-attachments/files/29394851/maintainer-report.txt",
      "https://github.com/user-attachments/files/29394853/make_spec.py",
      "https://github.com/advisories/GHSA-p32v-8v8j-j534"
    ],
    "fix_commit_urls": [
      "https://github.com/christianhelle/refitter/pull/1178",
      "https://github.com/christianhelle/refitter/commit/ab4d8e439d6f0ee82ad49ee15323978d70fe5a67"
    ],
    "github_reviewed_at": "2026-11-20T00:06:52Z",
    "advisory_updated_at": "2026-11-20T00:06:53Z",
    "source_code_location": "https://github.com/christianhelle/refitter",
    "advisory_published_at": "2026-11-20T00:06:52Z"
  }
}
2026-11-21date seule, selon la source
+POCPoC publique

Dépôt de PoC sur GitHub : googlesky/CVE-2026-63344. La date est celle de la création du dépôt.

source github 1466286126 · observé en direct par nday le · brut
{
  "id": 498653,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-63344",
  "occurred_at": "2026-11-21T07:14:12Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466286126",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-63344",
    "title": "googlesky/CVE-2026-63344",
    "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.