GHSA-h38r-xrmh-cwhr / CVE-2026-118515
この脆弱性で確認すること
- 対象製品
- symfony/serializer / symfony/symfony
- WATRIXで確認できる範囲
- 無料診断で使用技術の兆候が見えた場合に、確認すべき項目を案内します。脆弱性の検出や侵害の有無を保証するものではありません。
- 情報の作成方法
- 公開済みの診断ルールと出典に基づく日本語解説
- 診断ルールの確認日
- 2026/12/02
この診断ルールは CVE-2026-118513・CVE-2026-118515・CVE-2026-121971・GHSA-5w3m-mfwg-9f8r・GHSA-gq53-v8w2-gjhj・GHSA-h38r-xrmh-cwhr をまとめて扱います。個別の影響範囲と修正版は、それぞれの公式出典でも確認してください。
情報整理:WATRIX合同会社。影響の確定や侵害の有無は、実際の版・設定・ログ等を確認して判断します。
CVE-2026-118515の解説・対応履歴をまとめて確認診断対応・サービス更新の履歴
診断へ追加した時点の記録です。現在の照合可否は製品・バージョンの取得状況と、上記の確認範囲によります。
対応追加日:
Symfonyの確認案内を追加
WATRIX GUIDE
影響する 条件と、 次に できる こと
使用技術の兆候から要確認を案内Symfonyの
Symfony の版は外からは確定できません。2026年12月1日に、脆弱性3件(X509 クライアント証明書認証で証明書の名前欄を悪用して別のユーザーになりすませる: GHSA-5w3m-mfwg-9f8r、ScopingHttpClient が既定の認証情報を別のサイトへ送ってしまう: GHSA-gq53-v8w2-gjhj、Serializer がリクエストの内容から UploadedFile を作り、サーバ上の任意のファイルを指定できてしまう: GHSA-h38r-xrmh-cwhr)が公表されました。いずれも特定の機能を使っている場合に影響します。影響を受けるのは symfony/symfony 等の 5.4.56 より前、6.x は 6.4.50 より前、7.x は 7.4.23 より前、8.x は 8.1.11 より前です。危ないかもしれないので、composer.lock で symfony/symfony(symfony/security-http、symfony/http-client、symfony/serializer)の版を調べてください。
WATRIXが確認した関連解説です。公開元の原典とは区別して掲載しています。
日本語解説の確認:2026/12/02
影響を確かめるには
- 無料診断では、外部から見える技術の使用の兆候を調べます。バージョンや脆弱性への該当は確定できません。
- 管理画面やサーバ内の構成・設定を確認する必要があります。
対処の進め方
- Symfony を 5.4.56 以降、6.x は 6.4.50 以降、7.x は 7.4.23 以降、8.x は 8.1.11 以降へ更新してください
同じCVEの情報を、出典ごとに確認
同じCVEでも、深刻度の評価や掲載状態は出典ごとに異なる場合があります。各出典の記録を残し、片方の棄却・撤回だけで他の告知の状態を書き換えません。
- 掲載中
この出典のCVSS:8.4
- 公表:
- 2026/12/02 6:17
- 更新:
- 2026/12/02 6:17
- 当サイトの取得:
- 2026/12/05 0:00
- 掲載中
- CVSS
- 8.4
- 公開元の公表日時
- 2026/12/02 6:17
- 公開元の更新日時
- 2026/12/02 6:17
- 当サイトの収集処理
- 2026/12/05 0:00
原典の説明
公開元の記載です。上のWATRIXの日本語解説と併せて、最新の情報をご確認ください。
Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
### Description `DataUriNormalizer` builds `\SplFileInfo`, `\SplFileObject` and `Symfony\Component\HttpFoundation\File\File` objects from data URIs, for those exact types only. A property typed with a subclass of them, like `UploadedFile`, was left to `ObjectNormalizer`, which instantiated it through its constructor from the denormalized data, path, original name and `test` flag included. With `#[MapRequestPayload]` and a DTO holding an `UploadedFile` property, which is how uploads are mapped in Symfony 8.1, a request needs no upload at all to make the application handle any file of the server as one: ```json {"name": "x", "image": {"path": "/path/to/project/.env.local", "originalName": "a.png", "test": true}} ``` The same works with a form body, and with any code that deserializes untrusted data into a type holding such a property, on every maintained branch. `test: true` makes `UploadedFile::isValid()` skip `is_uploaded_file()` and `move()` fall back to `rename()`; code that reads the file without calling `isValid()` does not even need it. Depending on what the application does with the upload, this exposes any file readable by PHP, for instance when uploads are stored and served back, moves any such file when `move()` is called as the upload documentation shows, and reveals whether a path exists. `Assert\File` does not prevent it, since it validates the real server file. ### Resolution `DataUriNormalizer` now handles every subclass of `\SplFileInfo` as well: it passes through an instance of the expected type, as the files of a request are, and rejects any other data with a `NotNormalizableValueException`, which `#[MapRequestPayload]` turns into a 422. `File`, `\SplFileInfo` and `\SplFileObject` are still built from data URIs when the type is spelled as their `::class` constant. Any other spelling of these classes, like a leading backslash, a different case or a class alias, is handled like a subclass. A serializer built without `DataUriNormalizer` ahead of the object normalizer does not get this protection; the serializer configured by FrameworkBundle has it. The patches for this issue are available [here](https://github.com/symfony/symfony/commit/72ece5bb3084e8233325166357f85c8c0650ee86) for branch 5.4 and [here](https://github.com/symfony/symfony/commit/c459104eb18ebda31e112c5490970da3f30bd668) for branch 6.4 (and forward-ported to 7.4, 8.1 and 8.2). ### Credits Symfony would like to thank Oliver Wenzel for reporting the issue and Nicolas Grekas for providing the fix. Symfony would also like to thank [Bruno Dias](https://github.com/cx-bruno-dias) and [Miguel Neves](https://github.com/cx-miguel-neves) from Checkmarx for their help getting a CVE assigned.
出典・著作権・ライセンスを確認する
- 出典
GitHub Advisory Database
- 利用許諾
CC-BY-4.0
- 利用条件
当サイトでの保存履歴
当サイトが取得した原本の履歴です。公開元での過去の改訂日時とは異なります。
初回保存のみです。訂正前の版はまだありません。
現在の保存内容2026/12/03 0:00
掲載中修正版あり
このページは公表情報を確認するためのデータです。製品を使っているだけで被害や脆弱性への該当が確定するものではありません。現在のバージョン、設定条件、開発元の更新情報を確認してください。

