Search

Find a vulnerability

Search criteria

    4 vulnerabilities found for symfony/routing by Symfony

    CVE-2026-133754 (GCVE-0-2026-133754)

    Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
    VLAI
    Title
    UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host
    Summary
    UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like 。 have the same effect, since IDNA maps them to .. Applications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn't define. UrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can't contain a port anymore.
    CWE
    • CWE-116 - Improper Encoding or Escaping of Output
    • CWE-601 - URL Redirection to Untrusted Site
    Impacted products
    Vendor Product Version
    Symfony symfony/routing Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Date Public
    2026-11-25 09:36
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/routing",
              "product": "symfony/routing",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/symfony",
              "product": "symfony/symfony",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nicolas Grekas"
            }
          ],
          "datePublic": "2026-11-25T09:36:21.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "`UrlGenerator` puts the values of host placeholders into the generated URL without encoding them. Their default requirement, `[^.]++`, accepts `/`, `@`, `#`, `?`, `\\`, `%` and `:`. With the host `{tenant}.example.com`, the value `evil%2Ecom#` gives `https://evil%2Ecom#.example.com/dashboard`, which browsers send to `evil.com`. This works even when requirements are checked. Unicode full stops like `\u3002` have the same effect, since IDNA maps them to `.`.\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to `url()`. A route that uses `RedirectController::redirectAction()` with `keepQueryParams: true` does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\n`UrlGenerator` now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, `#`, `%`, `/`, `:`, `\u003c`, `\u003e`, `?`, `@`, `[`, `\\`, `]`, `^`, `|` and DEL. Unicode full stops are rejected too. This check applies whatever `strict_requirements` is set to. When `strict_requirements` is `false` or `null`, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like `[::1]`, but they can\u0027t contain a port anymore."
                }
              ],
              "value": "UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \\, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like \u3002 have the same effect, since IDNA maps them to ..\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\nUrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, \u003c, \u003e, ?, @, [, \\, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can\u0027t contain a port anymore."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-601",
                  "description": "CWE-601 URL Redirection to Untrusted Site",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:00:13.982Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133754",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133754"
            },
            {
              "name": "GHSA-wgv4-frv7-c8c5",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/73505be32fd675507f3572f5b89ed0a76733bf2f"
            }
          ],
          "source": {
            "advisory": "GHSA-wgv4-frv7-c8c5",
            "discovery": "UNKNOWN"
          },
          "title": "UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133754",
        "datePublished": "2026-11-25T10:00:13.982Z",
        "dateReserved": "2026-11-20T14:01:43.158Z",
        "dateUpdated": "2026-11-25T10:00:13.982Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133746 (GCVE-0-2026-133746)

    Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
    VLAI
    Title
    UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065
    Summary
    The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that UrlGenerator checks parameter values against. That check doesn't run when framework.router.strict_requirements is null, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with / still gives a protocol-relative URL, as in the original report: path('blog_rss', {_locale: '/evil.com'}) => //evil.com/blog/rss.xml Requirements that accept /, like .+, give such URLs in every environment. Applications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to path() or url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a placeholder that the redirecting route doesn't define. UrlGenerator now encodes the leading // of a URL that has no scheme and host as /%2F. It also rejects parameters that add %2E or %2E%2E segments to the path, which browsers resolve like . and ... These checks apply whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing.
    CWE
    • CWE-601 - URL Redirection to Untrusted Site
    Impacted products
    Vendor Product Version
    Symfony symfony/routing Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Date Public
    2026-11-25 09:35
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/routing",
              "product": "symfony/routing",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/symfony",
              "product": "symfony/symfony",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nicolas Grekas"
            }
          ],
          "datePublic": "2026-11-25T09:35:59.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that `UrlGenerator` checks parameter values against. That check doesn\u0027t run when `framework.router.strict_requirements` is `null`, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with `/` still gives a protocol-relative URL, as in the original report:\n\n```\npath(\u0027blog_rss\u0027, {_locale: \u0027/evil.com\u0027})  =\u003e  //evil.com/blog/rss.xml\n```\n\nRequirements that accept `/`, like `.+`, give such URLs in every environment.\n\nApplications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to `path()` or `url()`. A route that uses `RedirectController::redirectAction()` with `keepQueryParams: true` does the same, when the target route has a placeholder that the redirecting route doesn\u0027t define.\n\n`UrlGenerator` now encodes the leading `//` of a URL that has no scheme and host as `/%2F`. It also rejects parameters that add `%2E` or `%2E%2E` segments to the path, which browsers resolve like `.` and `..`. These checks apply whatever `strict_requirements` is set to. When `strict_requirements` is `false` or `null`, the generator logs an error and returns an empty string instead of throwing."
                }
              ],
              "value": "The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that UrlGenerator checks parameter values against. That check doesn\u0027t run when framework.router.strict_requirements is null, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with / still gives a protocol-relative URL, as in the original report:\n\npath(\u0027blog_rss\u0027, {_locale: \u0027/evil.com\u0027})  =\u003e  //evil.com/blog/rss.xml\n\nRequirements that accept /, like .+, give such URLs in every environment.\n\nApplications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to path() or url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a placeholder that the redirecting route doesn\u0027t define.\n\nUrlGenerator now encodes the leading // of a URL that has no scheme and host as /%2F. It also rejects parameters that add %2E or %2E%2E segments to the path, which browsers resolve like . and ... These checks apply whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-601",
                  "description": "CWE-601 URL Redirection to Untrusted Site",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:00:06.668Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133746",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133746"
            },
            {
              "name": "GHSA-cpx6-mpfq-c6cr",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-cpx6-mpfq-c6cr"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9"
            }
          ],
          "source": {
            "advisory": "GHSA-cpx6-mpfq-c6cr",
            "discovery": "UNKNOWN"
          },
          "title": "UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133746",
        "datePublished": "2026-11-25T10:00:06.668Z",
        "dateReserved": "2026-11-20T14:01:43.157Z",
        "dateUpdated": "2026-11-25T10:00:06.668Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133754 (GCVE-0-2026-133754)

    Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
    VLAI
    Title
    UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host
    Summary
    UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like 。 have the same effect, since IDNA maps them to .. Applications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn't define. UrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can't contain a port anymore.
    CWE
    • CWE-116 - Improper Encoding or Escaping of Output
    • CWE-601 - URL Redirection to Untrusted Site
    Impacted products
    Vendor Product Version
    Symfony symfony/routing Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Date Public
    2026-11-25 09:36
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/routing",
              "product": "symfony/routing",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/symfony",
              "product": "symfony/symfony",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nicolas Grekas"
            }
          ],
          "datePublic": "2026-11-25T09:36:21.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "`UrlGenerator` puts the values of host placeholders into the generated URL without encoding them. Their default requirement, `[^.]++`, accepts `/`, `@`, `#`, `?`, `\\`, `%` and `:`. With the host `{tenant}.example.com`, the value `evil%2Ecom#` gives `https://evil%2Ecom#.example.com/dashboard`, which browsers send to `evil.com`. This works even when requirements are checked. Unicode full stops like `\u3002` have the same effect, since IDNA maps them to `.`.\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to `url()`. A route that uses `RedirectController::redirectAction()` with `keepQueryParams: true` does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\n`UrlGenerator` now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, `#`, `%`, `/`, `:`, `\u003c`, `\u003e`, `?`, `@`, `[`, `\\`, `]`, `^`, `|` and DEL. Unicode full stops are rejected too. This check applies whatever `strict_requirements` is set to. When `strict_requirements` is `false` or `null`, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like `[::1]`, but they can\u0027t contain a port anymore."
                }
              ],
              "value": "UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \\, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like \u3002 have the same effect, since IDNA maps them to ..\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\nUrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, \u003c, \u003e, ?, @, [, \\, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can\u0027t contain a port anymore."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-601",
                  "description": "CWE-601 URL Redirection to Untrusted Site",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:00:13.982Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133754",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133754"
            },
            {
              "name": "GHSA-wgv4-frv7-c8c5",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/73505be32fd675507f3572f5b89ed0a76733bf2f"
            }
          ],
          "source": {
            "advisory": "GHSA-wgv4-frv7-c8c5",
            "discovery": "UNKNOWN"
          },
          "title": "UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133754",
        "datePublished": "2026-11-25T10:00:13.982Z",
        "dateReserved": "2026-11-20T14:01:43.158Z",
        "dateUpdated": "2026-11-25T10:00:13.982Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133746 (GCVE-0-2026-133746)

    Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
    VLAI
    Title
    UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065
    Summary
    The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that UrlGenerator checks parameter values against. That check doesn't run when framework.router.strict_requirements is null, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with / still gives a protocol-relative URL, as in the original report: path('blog_rss', {_locale: '/evil.com'}) => //evil.com/blog/rss.xml Requirements that accept /, like .+, give such URLs in every environment. Applications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to path() or url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a placeholder that the redirecting route doesn't define. UrlGenerator now encodes the leading // of a URL that has no scheme and host as /%2F. It also rejects parameters that add %2E or %2E%2E segments to the path, which browsers resolve like . and ... These checks apply whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing.
    CWE
    • CWE-601 - URL Redirection to Untrusted Site
    Impacted products
    Vendor Product Version
    Symfony symfony/routing Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Date Public
    2026-11-25 09:35
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/routing",
              "product": "symfony/routing",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/symfony",
              "product": "symfony/symfony",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nicolas Grekas"
            }
          ],
          "datePublic": "2026-11-25T09:35:59.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that `UrlGenerator` checks parameter values against. That check doesn\u0027t run when `framework.router.strict_requirements` is `null`, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with `/` still gives a protocol-relative URL, as in the original report:\n\n```\npath(\u0027blog_rss\u0027, {_locale: \u0027/evil.com\u0027})  =\u003e  //evil.com/blog/rss.xml\n```\n\nRequirements that accept `/`, like `.+`, give such URLs in every environment.\n\nApplications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to `path()` or `url()`. A route that uses `RedirectController::redirectAction()` with `keepQueryParams: true` does the same, when the target route has a placeholder that the redirecting route doesn\u0027t define.\n\n`UrlGenerator` now encodes the leading `//` of a URL that has no scheme and host as `/%2F`. It also rejects parameters that add `%2E` or `%2E%2E` segments to the path, which browsers resolve like `.` and `..`. These checks apply whatever `strict_requirements` is set to. When `strict_requirements` is `false` or `null`, the generator logs an error and returns an empty string instead of throwing."
                }
              ],
              "value": "The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that UrlGenerator checks parameter values against. That check doesn\u0027t run when framework.router.strict_requirements is null, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with / still gives a protocol-relative URL, as in the original report:\n\npath(\u0027blog_rss\u0027, {_locale: \u0027/evil.com\u0027})  =\u003e  //evil.com/blog/rss.xml\n\nRequirements that accept /, like .+, give such URLs in every environment.\n\nApplications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to path() or url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a placeholder that the redirecting route doesn\u0027t define.\n\nUrlGenerator now encodes the leading // of a URL that has no scheme and host as /%2F. It also rejects parameters that add %2E or %2E%2E segments to the path, which browsers resolve like . and ... These checks apply whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-601",
                  "description": "CWE-601 URL Redirection to Untrusted Site",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:00:06.668Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133746",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133746"
            },
            {
              "name": "GHSA-cpx6-mpfq-c6cr",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-cpx6-mpfq-c6cr"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9"
            }
          ],
          "source": {
            "advisory": "GHSA-cpx6-mpfq-c6cr",
            "discovery": "UNKNOWN"
          },
          "title": "UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133746",
        "datePublished": "2026-11-25T10:00:06.668Z",
        "dateReserved": "2026-11-20T14:01:43.157Z",
        "dateUpdated": "2026-11-25T10:00:06.668Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }