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",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "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."
          }
        ],
        "id": "CVE-2026-133746",
        "lastModified": "2026-11-25T10:17:11.710",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-25T10:17:11.710",
        "references": [
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-cpx6-mpfq-c6cr"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://symfony.com/cve-2026-133746"
          }
        ],
        "sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-601"
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…