Refitter allows code execution through unescaped OpenAPI header parameter names
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| nuget:Refitter | < 2.1.2 | 2.1.2 |
Refitter emits the spec's header parameter name (parameters[].name with in: header) verbatim into a Refit [Header(" ")] attribute string without escaping ". A crafted value survives Refitter's default OpenAPI validation, breaks out of the attribute and the enclosing interface + namespace, injects a top-level file class with a [ModuleInitializer] method, and reopens so the file stays valid. .NET runs [ModuleInitializer] methods at assembly load, so the attacker's code executes at application sta…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/20 09:06、GitHub Advisory Databaseが「Refitter allows code execution through unescaped OpenAPI header parameter names」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「緊急」(critical) です。関連する技術: .NET / C#。CVE: CVE-2026-63346。