# CVE-2026-49360: Recce server has unauthenticated SQL execution that allows local file read/write through DuckDB

- Severity: High 7.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-02)
- Published: 2026-07-02T21:14:38.000Z
- Modified: 2026-10-12T16:10:00.220Z
- Also known as: GHSA-rh62-j648-g5qc, PYSEC-2026-3049
- Weaknesses: CWE-73
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- DataRecce recce: < 1.50.0
- recce (PyPI): before 1.50.0

## Every score

- GitHub_M: CVSS:4.0 7.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:H/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:H/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:H/SA:N`

## References

- <https://github.com/DataRecce/recce/security/advisories/GHSA-rh62-j648-g5qc> (web)
- <https://github.com/DataRecce/recce/releases/tag/v1.50.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/recce/PYSEC-2026-3049.yaml>
- <https://github.com/DataRecce/recce> (package)
- <https://pypi.org/project/recce> (package)
- <https://github.com/advisories/GHSA-rh62-j648-g5qc> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49360> (advisory)

## Sources

- CVE List: [CVE-2026-49360](https://www.cve.org/CVERecord?id=CVE-2026-49360), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-rh62-j648-g5qc](https://github.com/advisories/GHSA-rh62-j648-g5qc), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-49360](https://nvd.nist.gov/vuln/detail/CVE-2026-49360), Public domain, modified 2026-10-12
- PyPA Advisory Database: [PYSEC-2026-3049](https://osv.dev/vulnerability/PYSEC-2026-3049), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-49360 · Whole record: https://cve.day/CVE-2026-49360.json · Rebuilt by cve.day 2026-11-25T22:59:34.852Z
