High, CVSS 7.8PyPIAmendedPublished
Recce server has unauthenticated SQL execution that allows local file read/write through DuckDB
CVE-2026-49360 · GHSA-rh62-j648-g5qc
- Affected
- PyPI recce <= 1.49.0
- Fixed in
- 1.50.0· Vendor fix available
- Issue
- Impact Recce 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. Patches 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.…
Recommended action: Upgrade to 1.50.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.