CVE-2026-63344

Source
https://cve.org/CVERecord?id=CVE-2026-63344
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63344.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63344
Aliases
Published
2026-10-30T22:15:27Z
Modified
2026-11-08T02:30:35Z
Severity
  • 8.6 (High) CVSS_V4 - 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 Calculator
Summary
Refitter: C# source injection through OpenAPI content-type map keys
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-116",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63344.json"
}
References

Affected packages

Git / github.com/christianhelle/refitter

Affected ranges

Type
GIT
Repo
https://github.com/christianhelle/refitter
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.1.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "ab4d8e439d6f0ee82ad49ee15323978d70fe5a67"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "2.1.2",
            "range": [
                {
                    "fixed": "2a9605af42c619af3cf5edd14c25580b0e06f651"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.3-alpha
0.1.4-alpha
0.1.5-alpha
0.2.0-alpha
0.2.1-alpha
0.2.2-alpha
0.2.3-alpha
0.2.4-alpha
0.3.0
0.3.1
0.3.16
0.3.17
0.3.2
0.3.3
0.3.4
0.4.0
0.4.1
0.4.2
0.5.0
0.5.1
0.5.2
0.5.25
0.5.26
0.5.27
0.5.28
0.5.3
0.5.30
0.6.0
0.6.1
0.6.2
0.6.3
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.8.7
0.9.0
0.9.1
0.9.2
0.9.4
0.9.5
0.9.6
0.9.7
0.9.8
0.9.9
1.*
1.0.0
1.0.1
1.0.2
1.1.1
1.1.2
1.1.3
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.4.1
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.7.0
1.7.1
1.7.2
1.7.3
2.*
2.0.0
2.1.0
2.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63344.json"