🔍 CVE-2026-40166

0.0
CVSS Score
UNKNOWN
2026-05-22
2026-07-23 16:10
✅ 완료

🇰🇷 한글 설명

오픈소스 ID 제공자인 authentik의 특정 버전에서 인증된 비관리자 사용자가 이전에 인증했던 OAuth2 제공자의 client_secret을 탈취할 수 있는 취약점이 발견되었습니다. GET /api/v3/oauth2/access_tokens/ API 호출 시 응답 객체에 포함된 민감한 정보가 권한이 없는 사용자에게 노출되는 문제입니다.

💡 쉬운 설명

일반 사용자가 권한이 없는 시스템의 비밀번호와 같은 중요한 인증 정보를 몰래 훔쳐볼 수 있는 보안 결함입니다. 이를 통해 공격자는 다른 서비스에 접근할 수 있는 권한을 얻을 위험이 있습니다.

🇺🇸 원문 (English)

authentik is an open-source identity provider. In versions prior to 2025.12.5 and 2026.2.0-rc1 through 2026.2.2, authenticated non-admin users with at least one OAuth2 access token can retrieve the client_secret of confidential OAuth2 providers they have previously authenticated against, exposing sensitive information to users without the correct permissions. This logic is GET /api/v3/oauth2/access_tokens/. The API response includes a nested provider object containing client_id and client_secret for providers configured with client_type: confidential, which should not be accessible to low-privilege users. This issue has been fixed in versions 2025.12.5 and 2026.2.3.

📍 영향받는 시스템

authentik versions prior to 2025.12.5 and 2026.2.0-rc1 through 2026.2.2

⚔️ 공격 벡터

인증된 비관리자 사용자가 특정 API 엔드포인트(GET /api/v3/oauth2/access_tokens/)를 호출하여 민감한 정보를 탈취

🛡️ 대응 방법

authentik을 2025.12.5 또는 2026.2.3 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과로 'client_secret' 값이 포함된 JSON 데이터가 출력된다면 해당 취약점에 노출된 상태입니다.

Shell / Script
curl -s http://<authentik-host>/api/v3/oauth2/access_tokens/ | grep -E 'client_secret'

💻 영향받는 소프트웨어

IBM Verify Identity Access