🇰🇷 한글 설명
NocoDB의 OAuth 토큰 전략에서 OAuth 범위(scope)와 허용된 리소스 정보가 요청 사용자에게 할당되지만, ACL 미들웨어가 이를 검증하지 않는 취약점입니다. 이로 인해 제한된 권한을 가진 OAuth 토큰이 실제로는 해당 사용자의 모든 권한을 상속받아 조직 수준의 엔드포인트에서 권한 우회가 발생할 수 있습니다.
💡 쉬운 설명
특정 기능만 사용하도록 제한된 열쇠(토큰)를 사용했음에도 불구하고, 시스템이 이를 제대로 확인하지 않아 사용자의 모든 권한을 사용할 수 있는 문제입니다. 결과적으로 권한이 제한되어야 할 영역에서 관리자급 권한이 남용될 위험이 있습니다.
🇺🇸 원문 (English)
NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, the OAuth token strategy attached oauth_scope and oauth_granted_resources to the request user, but the ACL middleware never consulted either. An OAuth token issued with a restricted scope (e.g. MCP-only) therefore inherited the full permissions of the underlying user across all routes; the granted_resources.base_id restriction was bypassed on org-level endpoints that don't populate req.context.base_id. This vulnerability is fixed in 2026.04.1.
📍 영향받는 시스템
NocoDB 2026.04.1 미만 버전
⚔️ 공격 벡터
제한된 권한(scope)을 가진 OAuth 토큰을 사용하여 권한 검증이 누락된 조직 레벨 엔드포인트에 접근
🛡️ 대응 방법
NocoDB를 2026.04.1 이상의 최신 버전으로 업데이트
🔧 검증 코드
출력 결과에 2026.04.1 이상의 버전 번호가 포함되어 있는지 확인
curl -s http://<target-ip>:<port>/api/v1/version | grep -E '2026.04.1'