CVE-2026-63345

Source
https://cve.org/CVERecord?id=CVE-2026-63345
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63345.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63345
Aliases
Published
2026-10-30T22:13:53Z
Modified
2026-11-04T02:31:00Z
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 path keys
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1116",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63345.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": "793d2632899c2022511dfc15e30725ef69073973"
                }
            ],
            "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-63345.json"