{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-135803 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-135803 is a critical vulnerability in symfony/filesystem, published on 24 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-135803 and fix it if it is affected.\n\nWhat it is: CVE-2026-135803 is a critical vulnerability in symfony/filesystem, published on 24 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-135803 in the wild and no public exploit code.\n\nAffected product: symfony/filesystem. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-135803/ (Markdown: https://insights.sbomify.com/CVE-2026-135803/index.md)","id":"CVE-2026-135803","markdown":"https://insights.sbomify.com/CVE-2026-135803/index.md","name":"CVE-2026-135803","record":{"aliases":["CLEANSTART-2026-FK43665","CLEANSTART-2026-SE78509","DEBIAN-CVE-2026-135803","GHSA-3gqv-8wv6-5qw7","GHSA-6prc-h956-hxjq","UBUNTU-CVE-2026-135803"],"analysis":null,"analysis_generated_by":null,"assigner":"Symfony","component":null,"cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Filesystem Path Treats Any Prefix Before \"://\" as a Root, Letting Paths Escape Their Base Directory","id":"CVE-2026-135803","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":3,"n_vendor_status":0,"next":{"headline":"The fix for CVE-2026-45756 lowers pcre.backtrack_limit to 10000 around each preg_match() call of the match() and search() filter functions.","id":"CVE-2026-135804"},"nickname":null,"packages":[],"prev":{"headline":"Generated URLs Can Point to a Host Chosen by the Client","id":"CVE-2026-135802"},"products":["symfony/filesystem","symfony/symfony"],"published":"2026-11-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["Symfony"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-135803/"}