{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-135803","published":"2026-11-24T09:17:08.830000Z","last_modified":"2026-11-25T20:18:38.343000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["symfony"],"products":["symfony/symfony-filesystem"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":76,"links":{"html_es":"/es/cve/CVE-2026-135803/","html_en":"/en/cve/CVE-2026-135803/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135803","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135803"},"untrusted":{"vendor_name":"Symfony","product_name":"symfony/filesystem","desc_en":"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.\n\nSome 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.\n\nOn 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.\n\nA 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.","affected":[{"untrusted_vendor":"Symfony","untrusted_product":"symfony/filesystem","versions":[]},{"untrusted_vendor":"Symfony","untrusted_product":"symfony/symfony","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"3b26eda40c47bb2c3ed1d599de49e95e","generated":"2026-12-01T03:48:31.098378Z","es":{"untrusted_title":"Evasión de validación de rutas en Symfony Filesystem","untrusted_summary":"El componente Filesystem de Symfony interpreta incorrectamente prefijos de rutas como esquemas URI, permitiendo que segmentos \"..\" no se resuelvan correctamente. Un atacante puede eludir validaciones de ruta con isBasePath() o canonicalize() para leer o escribir archivos fuera del directorio esperado, incluyendo inyección de código en aplicaciones que usan AssetMapper."},"en":{"untrusted_title":"Path Validation Bypass in Symfony Filesystem","untrusted_summary":"Symfony's Filesystem component incorrectly interprets path prefixes as URI schemes, allowing \"..\" segments to bypass resolution. An attacker can evade path validation checks with isBasePath() or canonicalize() to read or write files outside the intended directory, including code injection in applications using AssetMapper."},"remediation":{"status":"fix","fixed_versions":[],"untrusted_action_es":"Actualiza symfony/filesystem y symfony/symfony a las versiones corregidas que validen correctamente los esquemas URI según los estándares de PHP.","untrusted_action_en":"Update symfony/filesystem and symfony/symfony to patched versions that properly validate URI schemes according to PHP standards.","vendor_url":"https://symfony.com/cve-2026-135803"},"reviewed":false},"references":[{"url":"https://github.com/symfony/symfony/commit/9441dd5f05e78ad898317083828c1acebff586a1","tags":[]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-6prc-h956-hxjq","tags":[]},{"url":"https://symfony.com/cve-2026-135803","tags":[]}]}}