CVE-2026-57178:
Python 취약성 분석 및 완화
개요
CVE-2026-57178 is an authentication bypass vulnerability in Python Social Auth's vk-app backend (social-auth-core) that allows unauthenticated attackers to forge VK identity callbacks and authenticate as arbitrary VK user IDs. The flaw affects all versions of social-auth-core prior to 5.0.0 and was first published on June 30, 2026, with NVD publication on September 24, 2026. It carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory, Red Hat Bugzilla).
기술적 세부 사항
The root cause is improper authentication (CWE-287) combined with improper verification of cryptographic signatures (CWE-347). The vk-app backend in Python Social Auth processed VK application callback data without checking for the presence or validity of the auth_key HMAC signature parameter — when auth_key was simply omitted from the callback request, the backend accepted the remaining fields (viewer_id, access_token, api_id, api_result) as trusted VK identity data. An attacker can craft an HTTP callback request to the VK app callback endpoint with arbitrary values for these fields, effectively impersonating any VK user ID without possessing valid credentials or a legitimate VK session. The fix (PR #1811) enforces that auth_key must be present and cryptographically valid before any callback data is trusted (GitHub Advisory).
영향
Successful exploitation allows an unauthenticated remote attacker to authenticate to any application using the vk-app backend as an arbitrary VK user, resulting in full account takeover for targeted users. This yields high confidentiality impact (access to victim account data and session) and high integrity impact (ability to perform actions as the impersonated user), with no availability impact. The scope is limited to applications that have deployed the social_core.backends.vk.VKAppOAuth2 backend; applications using other Python Social Auth backends are not affected (GitHub Advisory, Red Hat Bugzilla).
악용 가능성
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.0016 (0.16%), indicating a low current probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. The attack complexity is rated High, as the attacker must be able to submit a crafted callback to the application's VK callback endpoint, which may require knowledge of the target application's callback URL (GitHub Advisory).
착취 단계
- Reconnaissance: Identify web applications using Python Social Auth's
vk-appbackend (social_core.backends.vk.VKAppOAuth2) by examining login pages, OAuth flow redirects, or publicly visible configuration references. - Locate the VK callback endpoint: Determine the application's VK app callback URL (typically something like
/complete/vk-app/or as configured inSOCIAL_AUTH_VK_APP_COMPLETE_URL). - Craft a malicious callback request: Construct an HTTP POST request to the callback endpoint that includes attacker-chosen fields such as
viewer_id(set to the target VK user ID),access_token,api_id, andapi_result, while deliberately omitting theauth_keyparameter. - Submit the forged callback: Send the crafted request to the application. Because the vulnerable backend does not enforce the presence of
auth_key, it accepts the unsigned data as a verified VK identity. - Achieve authentication: The application creates or resumes a session for the specified
viewer_id, granting the attacker access as the impersonated VK user (GitHub Advisory).
타협의 징후
- Network: HTTP POST requests to the VK app callback endpoint (e.g.,
/complete/vk-app/) that lack anauth_keyparameter but includeviewer_id,access_token,api_id, and/orapi_resultfields; requests originating from IPs with no prior VK OAuth flow initiation. - Logs: Application authentication logs showing successful VK logins for user IDs that have no corresponding prior OAuth initiation or redirect from VK; repeated authentication attempts for different
viewer_idvalues from the same source IP. - Application Behavior: New or unexpected user sessions associated with VK user IDs that the legitimate account holders did not initiate; account activity (logins, data access) at unusual times or from unexpected geolocations for VK-linked accounts.
완화 및 해결 방법
Upgrade social-auth-core to version 5.0.0 or later, which enforces that auth_key must be present and valid before any VK callback data is trusted (GitHub Advisory). For applications that cannot upgrade immediately, the only effective workaround is to disable the vk-app backend entirely by removing social_core.backends.vk.VKAppOAuth2 from SOCIAL_AUTH_AUTHENTICATION_BACKENDS — there is no complete mitigation while continuing to use the vulnerable backend. Additionally, consider implementing network-level controls to restrict which sources can submit VK callback requests, and validate authentication claims through the VK API where feasible.
커뮤니티 반응
The vulnerability was reported by researcher @lalalala5678 through GitHub's private vulnerability reporting program and remediated by maintainer nijel (GitHub Advisory). Red Hat tracked the issue via Bugzilla (Bug 2540600) and assigned it high severity/priority (Red Hat Bugzilla). No significant broader media coverage or notable social media discussion has been observed at this time.
추가 자료
리눅스 배포판 수정 현황
주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 Python 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."