{"id":"CVE-2026-57178","aliases":["CVE-2026-57178","GHSA-3c93-f73f-qc9h","PYSEC-2026-4165"],"related":[],"kind":"vulnerability","state":"published","title":"social-auth-core: VK App backend accepts unsigned callback data when auth_key is missing","summary":"Python Social Auth is a social authentication/registration mechanism. Prior to version 5.0.0, the `vk-app` backend accepted VK application callback data without verifying the callback signature when the `auth_key` parameter was omitted. Applications using this backend could treat unsigned attacker-controlled data as a verified VK identity. An attacker could choose callback fields such as `viewer_id`, `access_token`, `api_id`, and `api_result`, potentially allowing authentication as an arbitrary VK user ID. The issue affects only applications using the `vk-app` backend. The issue has been fixed in version 5.0.0 by requiring `auth_key` to be present and valid before callback data is trusted.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Python Social Auth is a social authentication/registration mechanism. Prior to version 5.0.0, the `vk-app` backend accepted VK application callback data without verifying the callback signature when the `auth_key` parameter was omitted. Applications using this backend could treat unsigned attacker-controlled data as a verified VK identity. An attacker could choose callback fields such as `viewer_id`, `access_token`, `api_id`, and `api_result`, potentially allowing authentication as an arbitrary VK user ID. The issue affects only applications using the `vk-app` backend. The issue has been fixed in version 5.0.0 by requiring `auth_key` to be present and valid before callback data is trusted.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe `vk-app` backend accepted VK application callback data without verifying the callback signature when the `auth_key` parameter was omitted.\n\nApplications using this backend could treat unsigned attacker-controlled data as a verified VK identity. An attacker could choose callback fields such as `viewer_id`, `access_token`, `api_id`, and `api_result`, potentially allowing authentication as an arbitrary VK user ID.\n\nThe issue affects only applications using the `vk-app` backend.\n\n### Patches\n\nThe issue has been fixed by requiring `auth_key` to be present and valid before callback data is trusted.\n\nUsers should upgrade to a patched version.\n\nFix:\n\n* https://github.com/python-social-auth/social-core/pull/1811\n\n### Workarounds\n\nApplications that cannot upgrade immediately should disable the `vk-app` backend by removing `social_core.backends.vk.VKAppOAuth2` from `SOCIAL_AUTH_AUTHENTICATION_BACKENDS`.\n\nThere is no complete workaround while continuing to use the vulnerable backend.\n\n### Credits\n\nReported by @lalalala5678 through GitHub private vulnerability reporting.","format":"markdown","source":"ghsa"}],"published":"2026-09-24T17:25:47.225Z","modified":"2026-10-01T17:55:50.908Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-287","CWE-347"],"affected":[{"ranges":[{"version":"< 5.0.0","status":"affected"}],"vendor":"python-social-auth","product":"social-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.0"}],"ecosystem":"PyPI","package":"social-auth-core","purl":"pkg:pypi/social-auth-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.0"}],"ecosystem":"PyPI","package":"social-auth-core","purl":"pkg:pypi/social-auth-core","source":"pysec"}],"references":[{"url":"https://github.com/python-social-auth/social-core/security/advisories/GHSA-3c93-f73f-qc9h","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57178","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/python-social-auth/social-core/pull/1811","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/python-social-auth/social-core/commit/1bfacdd0379e5eb46e169a99ab648b835e9bb6a2","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/python-social-auth/social-core","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/python-social-auth/social-core/releases/tag/5.0.0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/social-auth-core","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-3c93-f73f-qc9h","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-28T17:34:29.013Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57178","url":"https://www.cve.org/CVERecord?id=CVE-2026-57178","licence":"CVE Terms of Use","modified":"2026-09-28T17:34:38.454Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3c93-f73f-qc9h","url":"https://github.com/advisories/GHSA-3c93-f73f-qc9h","licence":"CC-BY-4.0","modified":"2026-10-01T17:55:50.908Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57178","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57178","licence":"Public domain","modified":"2026-09-28T18:17:23.873Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4165","url":"https://osv.dev/vulnerability/PYSEC-2026-4165","licence":"CC-BY-4.0","modified":"2026-10-01T17:45:17.846Z"}],"updatedAt":"2026-11-25T22:59:40.878Z","epss":{"score":0.0016,"percentile":0.05424,"date":"2026-12-01T12:00:22.000Z"}}