cve-ja
← 新着
CVE

認証なしで、細工したパスで検査をすり抜け、想定外の場所のファイルを読み書きされるおそれ。

パス・トラバーサル。対象は symfony/filesystem(5.4.56 未満・6.4.50 未満・7.4.23 未満・8.1.11 未満)。

CVE-2026-135803GHSA-6prc-h956-hxjq要確認

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
9.1
Critical
CISA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
11/26 時点
修正
修正版あり
5.4.56・6.4.50・7.4.23・8.1.11 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:symfony/filesystem を 5.4.56・6.4.50・7.4.23・8.1.11 以降(使用中の系列)に更新する
公開
2026年11月24日
最終更新
2026年11月24日
優先度の理由
重大(PoC 未公開)
最終確認
2026年11月26日
EPSS
0.30%
PoC
見つかっていない
攻撃の条件
ネット越し・ログイン不要・相手の操作は要らない
国内
まだ無い

概要

認証なしで、細工したパスで検査をすり抜け、想定外の場所のファイルを読み書きされるおそれ。

元の説明(英語)を読む

Most methods of Symfony\Component\Filesystem\Path rely on Path::split(), which takes everything before the first :// as the root of a path. It doesn't check that this prefix is a URI scheme, so the .. segments in that prefix are never resolved. PHP sees a scheme only at the start of a string. So /base/../x://../secret.txt is a plain local path to /secret.txt for PHP, while Path::isBasePath('/base', '/base/../x://../secret.txt') returns true. canonicalize(), join(), makeAbsolute() and makeRelative() are affected the same way. Some applications check a path built from user input with isBasePath() or canonicalize(), and then open it. They can be made to read or write files outside the expected directory. On Symfony 6.4 and later, the AssetMapper component builds with Path::join() the path of the files that a remote package references from its CSS. A malicious or compromised package can therefore make importmap:require or importmap:install write a file of its choice outside assets/vendor. For example, the CSS url(../../../../../public/x://shell.php) writes public/x:/shell.php. A prefix is now a scheme only when PHP would look for a stream wrapper with that name. That is two or more letters, digits, +, - or ., followed by :// at the start of the path. Other prefixes are regular path segments, and the .. segments after them are resolved. Real schemes such as phar://, file://, vfs:// or compress.zlib:// keep working.

影響を受ける人

symfony/filesystem の Path で入力パスを検査する開発者

対策

  • symfony/filesystem を 5.4.56・6.4.50・7.4.23・8.1.11 以降(使用中の系列)に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月24日・一次情報
脆弱性が公開された

影響する版

Symfony symfony/filesystem5.4.56 未満が対象(5.4.56 で修正)・6.4.50 未満が対象(6.4.50 で修正)・7.4.23 未満が対象(7.4.23 で修正)・8.1.11 未満が対象(8.1.11 で修正)
Symfony symfony/symfony5.4.56 未満が対象(5.4.56 で修正)・6.4.50 未満が対象(6.4.50 で修正)・7.4.23 未満が対象(7.4.23 で修正)・8.1.11 未満が対象(8.1.11 で修正)