Recce server has unauthenticated SQL execution that allows local file read/write through DuckDB
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DataRecce | recce | before 1.50.0 | 1.50.0 | Patch available | CNA |
| — | recce (PyPI) | before 1.50.0 | 1.50.0 | Patch available | GHSA-rh62-j648-g5qc |
- recce VendorDataRecce Affected before 1.50.0 Fixed in 1.50.0 Patch available CNA
- recce (PyPI) Vendor— Affected before 1.50.0 Fixed in 1.50.0 Patch available GHSA-rh62-j648-g5qc
Remediation
- Fix · CNA recce (DataRecce) Fixed in 1.50.0
- Fix · GHSA-rh62-j648-g5qc recce (PyPI) Fixed in 1.50.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49360
- 2026-10-03 Alias added: GHSA-rh62-j648-g5qc
References
Sources
- CVE-2026-49360 · CVE Program
- CVE-2026-49360 · NVD
- FIRST EPSS
- GHSA-rh62-j648-g5qc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences