{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "7.0.0",
                "range": [
                  {
                    "fixed": "272e67201a6b6d623a7c9a24887d7041fbd21582"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640"
            },
            {
              "fixed": "272e67201a6b6d623a7c9a24887d7041fbd21582"
            }
          ],
          "repo": "https://github.com/python-social-auth/social-core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4pv2-52v7-vrfx"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126775.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "4.7.0"
              },
              {
                "fixed": "7.0.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "4.7.0"
              },
              {
                "fixed": "7.0.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Social-auth-core 4.7.0 before 7.0.0 contains a login cross-site request forgery vulnerability in the SAML backend that restores sessions named in the unsigned RelayState parameter. Attackers can deliver their own valid IdP response and RelayState to a victim's browser via an auto-submitting form, signing the victim into the attacker's account to capture entered data.",
  "id": "CVE-2026-126775",
  "modified": "2026-11-13T02:30:46.655500129Z",
  "published": "2026-11-11T18:41:07.737Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://pypi.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126775.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/python-social-auth/social-core/releases/tag/7.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/python-social-auth/social-core/security/advisories/GHSA-4pv2-52v7-vrfx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126775"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/social-auth-core-4.7.0-before-7.0.0-login-csrf-via-saml-relaystate"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python-social-auth/social-core/commit/7d9da571fc9ce8bd0003ccfcbfa8ed98c18bb640"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python-social-auth/social-core/pull/2167"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/python-social-auth/social-core"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Social-auth-core 4.7.0 before 7.0.0 Login CSRF via SAML RelayState"
}