🔍 CVE-2026-31813

4.8
CVSS Score
MEDIUM
2026-03-11
2026-06-17 10:34
✅ 완료

🇰🇷 한글 설명

Supabase Auth 2.185.0 미만 버전에서 Apple 또는 Azure 제공업체를 사용할 때 발생하는 취약점입니다. 공격자가 조작된 ID 토큰을 사용하여 임의의 사용자 세션을 발행하고 해당 사용자의 계정에 접근할 수 있습니다.

💡 쉬운 설명

해커가 가짜 신분증을 만들어 시스템을 속임으로써, 다른 사람의 계정으로 로그인할 수 있는 보안 구멍이 발견되었습니다. 이로 인해 타인의 개인 정보나 데이터가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

Supabase Auth is a JWT based API for managing users and issuing JWT tokens. Prior to 2.185.0, a vulnerability has been identified that allows an attacker to issue sessions for arbitrary users using specially crafted ID tokens when the Apple or Azure providers are enabled. The attacker issues a valid, asymmetrically signed ID token from their issuer for each victim email address, which then is sent to the Supabase Auth token endpoint using the ID token flow. If the ID token is OIDC compliant, the Auth server would validate it against the attacker-controlled issuer and link the existing OIDC identity (Apple or Azure) of the victim to an additional OIDC identity based on the ID token contents. The Auth server would then issue a valid user session (access and refresh tokens) at the AAL1 level to the attacker. This vulnerability is fixed in 2.185.0.

📍 영향받는 시스템

Supabase Auth versions prior to 2.185.0 (with Apple or Azure providers enabled)

⚔️ 공격 벡터

조작된 OIDC ID 토큰을 Supabase Auth 토큰 엔드포인트로 전송하여 임의의 사용자 세션 획득

🛡️ 대응 방법

Supabase Auth를 2.185.0 버전 이상으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 Supabase 관련 패키지 또는 CLI의 버전이 2.185.0 미만인지 확인하십시오.

Shell / Script
npm list @supabase/auth-helpers-nextjs || supabase --version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

💻 영향받는 소프트웨어

Azure