cvelo
P2 · HighCVSS 8.2EPSS 0.8%

Symfony: DataUriNormalizer Opens Data URIs With a Non-Lowercase Scheme as Local Files, Letting a Client Read Any Server File

  • CVE-2026-121623
  • EUVD-2026-118332

Description

The Symfony Serializer component DataUriNormalizer::denormalize() matches the data: scheme with a case-sensitive regular expression, allowing a value with an uppercase scheme, such as DATA:,/../../../etc/passwd, to bypass it, resulting in Arbitrary Local File Read through Path Traversal in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A value whose scheme is not lowercase data: are treated as a local file path and opened instead of being decoded as inline data, so the resulting File, \SplFileInfo, or \SplFileObject points at a file on the server, which the application then handles as the uploaded content. Any endpoint that deserializes untrusted input into one of these types is affected. FrameworkBundle registers DataUriNormalizer ahead of ObjectNormalizer by default. A single request with a crafted DATA: value is enough to read arbitrary local files that the application can access, with no authentication needed if the endpoint is public.

Text from the CVE.org record.

Recommendation

  • symfony

    • If you run a version from 8.0.0 to before 8.1.11update to 8.1.11 or laterMinor version change: check the release notes
    • If you run a version from 7.0.0 to before 7.4.23update to 7.4.23 or laterMinor version change: check the release notes
    • If you run a version from 6.0.0 to before 6.4.50update to 6.4.50 or laterMinor version change: check the release notes
    • If you run a version before 5.4.56update to 5.4.56 or later

Taken from the version ranges of the ENISA EUVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • symfony

    Affected versionsFixed in
    from 8.0.0 to before 8.1.118.1.11
    from 7.0.0 to before 7.4.237.4.23
    from 6.0.0 to before 6.4.506.4.50
    before 5.4.565.4.56

Product versions from the ENISA EUVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.