Refitter 是一个利用 Refit 库生成 CREST API 客户端的工具。在 2.1.2 版本之前,OpenAPI 对象中的键会原样(verbatim)输出到 Refit 路由特性(如 )中,未对引号或特殊字符进行转义或限制。攻击者可构造一个以斜杠开头、仅占一行的路径,该路径能绕过默认验证(无需使用 选项),从而闭合特性字符串、接口及命名空间,并注入一个顶层文件类以重新打开生成的结构,确保生成的 C代码语法有效。其中, 方法会在应用程序编译并加载生成的程序集时(即在启动阶段)执行攻击者代码,即使从未调用过
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| christianhelle | refitter | < 2.1.2 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-63344 | 8.6 HIGH | Refitter: C# source injection through OpenAPI content-type map keys |
| CVE-2026-63346 | 8.6 HIGH | Refitter: C# source injection through OpenAPI header parameter names |
| CVE-2026-63184 | 7.1 HIGH | Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion |