Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for symfony/security-core by Symfony

    CVE-2026-133753 (GCVE-0-2026-133753)

    Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
    VLAI
    Title
    The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275
    Summary
    With the unanimous access decision strategy, an access_control rule that lists several roles requires all of them. That's the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. RoleVoter grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access: security: access_decision_manager: strategy: unanimous access_control: - { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] } Only attributes decided by the same voter were affected. For example, a role combined with allow_if still required both. With the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied.
    CWE
    • CWE-863 - Incorrect Authorization
    Impacted products
    Vendor Product Version
    Symfony symfony/security-core Affected: 5.4.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: 5.4.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/security-core",
              "product": "symfony/security-core",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "5.4.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": "5.4.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": "Jack Worman"
            }
          ],
          "datePublic": "2026-11-25T09:36:19.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "With the `unanimous` access decision strategy, an `access_control` rule that lists several roles requires all of them. That\u0027s the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. `RoleVoter` grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access:\n\n```yaml\nsecurity:\n    access_decision_manager:\n        strategy: unanimous\n    access_control:\n        - { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] }\n```\n\nOnly attributes decided by the same voter were affected. For example, a role combined with `allow_if` still required both.\n\nWith the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied."
                }
              ],
              "value": "With the unanimous access decision strategy, an access_control rule that lists several roles requires all of them. That\u0027s the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. RoleVoter grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access:\n\nsecurity:\n    access_decision_manager:\n        strategy: unanimous\n    access_control:\n- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] }\n\nOnly attributes decided by the same voter were affected. For example, a role combined with allow_if still required both.\n\nWith the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-863",
                  "description": "CWE-863 Incorrect Authorization",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:00:13.140Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133753",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133753"
            },
            {
              "name": "GHSA-h32j-4qcq-hw69",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-h32j-4qcq-hw69"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/cdcbddcc0b5fd4de51d0ea01b148a7608d75d35c"
            }
          ],
          "source": {
            "advisory": "GHSA-h32j-4qcq-hw69",
            "discovery": "UNKNOWN"
          },
          "title": "The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133753",
        "datePublished": "2026-11-25T10:00:13.140Z",
        "dateReserved": "2026-11-20T14:01:43.157Z",
        "dateUpdated": "2026-11-25T10:00:13.140Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133753 (GCVE-0-2026-133753)

    Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
    VLAI
    Title
    The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275
    Summary
    With the unanimous access decision strategy, an access_control rule that lists several roles requires all of them. That's the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. RoleVoter grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access: security: access_decision_manager: strategy: unanimous access_control: - { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] } Only attributes decided by the same voter were affected. For example, a role combined with allow_if still required both. With the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied.
    CWE
    • CWE-863 - Incorrect Authorization
    Impacted products
    Vendor Product Version
    Symfony symfony/security-core Affected: 5.4.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: 5.4.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/security-core",
              "product": "symfony/security-core",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "5.4.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": "5.4.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": "Jack Worman"
            }
          ],
          "datePublic": "2026-11-25T09:36:19.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "With the `unanimous` access decision strategy, an `access_control` rule that lists several roles requires all of them. That\u0027s the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. `RoleVoter` grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access:\n\n```yaml\nsecurity:\n    access_decision_manager:\n        strategy: unanimous\n    access_control:\n        - { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] }\n```\n\nOnly attributes decided by the same voter were affected. For example, a role combined with `allow_if` still required both.\n\nWith the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied."
                }
              ],
              "value": "With the unanimous access decision strategy, an access_control rule that lists several roles requires all of them. That\u0027s the behavior restored by the fix for CVE-2020-5275. Since Symfony 5.4, the access decision manager asked each voter once about all the attributes of a rule. RoleVoter grants access as soon as the user has one of the roles. So a user who had only one of these roles was granted access:\n\nsecurity:\n    access_decision_manager:\n        strategy: unanimous\n    access_control:\n- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_AUDITOR] }\n\nOnly attributes decided by the same voter were affected. For example, a role combined with allow_if still required both.\n\nWith the unanimous strategy, voters are asked about each attribute separately again, as before Symfony 5.4. Access is denied as soon as one of the attributes is denied."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-863",
                  "description": "CWE-863 Incorrect Authorization",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:00:13.140Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133753",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133753"
            },
            {
              "name": "GHSA-h32j-4qcq-hw69",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-h32j-4qcq-hw69"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/cdcbddcc0b5fd4de51d0ea01b148a7608d75d35c"
            }
          ],
          "source": {
            "advisory": "GHSA-h32j-4qcq-hw69",
            "discovery": "UNKNOWN"
          },
          "title": "The Unanimous Strategy Grants access_control Rules When Only One of Their Roles Matches: Regression of CVE-2020-5275",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133753",
        "datePublished": "2026-11-25T10:00:13.140Z",
        "dateReserved": "2026-11-20T14:01:43.157Z",
        "dateUpdated": "2026-11-25T10:00:13.140Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }