🔍 CVE-2026-49360

0.0
CVSS Score
UNKNOWN
2026-08-21
2026-10-12 16:10
✅ 완료

🇰🇷 한글 설명

Recce 1.50.0 미만 버전의 OSS 서버가 인증 없이 외부 네트워크에 노출될 경우, 공격자가 SQL 실행 API를 통해 인증 없이 SQL을 실행할 수 있습니다. 특히 DuckDB를 사용하는 프로젝트의 경우, 공격자가 DuckDB 파일 시스템 기능을 악용하여 서버 프로세스가 접근 가능한 파일을 읽거나 쓸 수 있어 데이터 유출 및 파일 변조 위험이 있습니다.

💡 쉬운 설명

인증 절차가 없는 Recce 서버를 통해 해커가 몰래 명령어를 입력하여 서버 내부의 파일을 훔쳐보거나 내용을 바꿀 수 있는 보안 취약점입니다. 이로 인해 중요한 정보가 유출되거나 웹사이트가 변조될 위험이 있습니다.

🇺🇸 원문 (English)

Recce is a data-validation toolkit for enhanced dbt (data build tool) PR review. Prior to version 1.50.0, OSS server deployments that expose the server to an untrusted network without authentication are vulnerable to unauthenticated SQL execution through the query run API. When Recce is configured with a DuckDB-backed project, an attacker can use DuckDB filesystem primitives to read and write files accessible to the Recce server process. The impact depends on how Recce is deployed, but may include disclosure of local files, tampering with Recce/dbt artifacts, modification of browser-served static files leading to stored XSS, and modification of application files if those paths are writable. If Recce is run as root, file access occurs with root privileges inside that host or container. This issue has been patched in Recce `v1.50.0`. Users should upgrade to Recce `v1.50.0` or later. The patch restricts unsafe file read/write behavior for DuckDB-backed query execution and hardens the affected query path. Other warehouse adapters have also been reviewed for similar exposure. Users who cannot upgrade immediately should avoid exposing `recce server` to the public internet or any untrusted network. Recommended mitigations include enabling authentication or placing Recce behind an authenticated reverse proxy/VPN, running Recce as a non-root user, using a read-only application filesystem where possible, and ensuring that sensitive files or credentials are not available to the Recce process.

📍 영향받는 시스템

Recce OSS server versions prior to 1.50.0 (specifically those using DuckDB)

⚔️ 공격 벡터

Unauthenticated SQL execution via the query run API to exploit DuckDB filesystem primitives

🛡️ 대응 방법

Upgrade Recce to version 1.50.0 or later, or place the server behind an authenticated reverse proxy/VPN

🔧 검증 코드

출력된 버전이 1.50.0 미만이면 취약한 상태이며, 1.50.0 이상이면 안전합니다.

Shell / Script
recce --version 2>/dev/null | grep -E '1\.[0-5][0-9]\.' || echo 'Version not found'

💻 영향받는 소프트웨어

Spring Data REST