← 脆弱性・アップデート

緊急脆弱性アドバイザリ.NET / C#

Refitter allows arbitrary code execution through unescaped OpenAPI paths

影響

パッケージ影響する版修正版
nuget:Refitter< 2.1.22.1.2

Refitter emits each OpenAPI path (the paths-object key) verbatim into a Refit [Get(" ")] attribute string, without escaping " or restricting characters. A crafted single-line, /-prefixed path survives Refitter's default OpenAPI validation yet closes the attribute string and the enclosing interface + namespace, injects a top-level file class with a [ModuleInitializer] method, and reopens a namespace + interface so the file stays valid. .NET runs [ModuleInitializer] methods when the generated ass…

GitHub Advisory Databaseで読む

2026/11/20 09:06、GitHub Advisory Databaseが「Refitter allows arbitrary code execution through unescaped OpenAPI paths」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「緊急」(critical) です。関連する技術: .NET / C#。CVE: CVE-2026-63345。