Refitter 是一个利用 Refit 库生成 CREST API 客户端的工具。在 2.1.2 版本之前, 内容映射中的 键会被原样输出到 Refit 的 属性字符串中,而未对引号进行转义处理。攻击者可构造一个恶意的 键,该键在未经 参数的默认验证下仍能通过,从而突破属性字符串、接口及命名空间的限制,并注入一个顶层文件类,同时保持生成的 C代码在语法上有效。该顶层类中包含一个 方法,当生成的程序集在应用程序启动时加载,该方法便会执行攻击者代码,且无需调用客户端即可触发。此行为已在 Refitter 2.0.0
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-63345 | 8.6 HIGH | Refitter: C# source injection through OpenAPI path 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 |