Open JS Foundationの@fastify/middieにおける解釈の競合に関する脆弱性
| Title |
Open JS Foundationの@fastify/middieにおける解釈の競合に関する脆弱性
|
| Summary |
@fastify/middieのバージョン9.3.1およびそれ以前では、継承されたミドルウェアが子プラグインエンジンのインスタンスに直接登録されません。Fastifyアプリケーションが親スコープで認証ミドルウェアを登録し、その後@fastify/middieを使用して子プラグインを登録すると、子スコープは親のミドルウェアを継承しません。このため、認証されていないリクエストが子プラグインスコープ内で定義されたルートに到達し、認証および認可のチェックを回避します。この問題を修正するには、@fastify/middieをバージョン9.3.2にアップグレードしてください。回避策はありません。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 16, 2026, midnight |
| Registration Date |
April 24, 2026, 11:40 a.m. |
| Last Update |
April 24, 2026, 11:40 a.m. |
|
CVSS3.0 : 緊急
|
| Score |
9.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected System
| Open JS Foundation |
|
@fastify/middie 9.3.2 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月24日] 掲載 |
April 24, 2026, 11:40 a.m. |
NVD Vulnerability Information
CVE-2026-6270
| Summary |
@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin engine instances. When a Fastify application registers authentication middleware in a parent scope and then registers child plugins with @fastify/middie, the child scope does not inherit the parent middleware. This allows unauthenticated requests to reach routes defined in child plugin scopes, bypassing authentication and authorization checks. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds.
|
| Publication Date |
April 16, 2026, 11:16 p.m. |
| Registration Date |
April 17, 2026, 4:12 a.m. |
| Last Update |
April 23, 2026, 2:31 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:openjsf:\@fastify\/middie:*:*:*:*:*:fastify:*:* |
|
|
|
9.3.2 |
Related information, measures and tools
Common Vulnerabilities List