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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.07% (percentile 64, 2026-11-26)
- **CWE:** CWE-73
- **Aliases:** GHSA-rh62-j648-g5qc, PYSEC-2026-3049
- **Published:** 2026-07-02T21:14:38.000Z
- **Modified:** 2026-10-12T16:10:00.220Z

## Who should check

- Projects that depend on PyPI package recce (\< 1.50.0)
- Anyone running DataRecce recce \< 1.50.0

## 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.

## Affected and fixed versions

- PyPI `recce`: affected \< 1.50.0; fixed 1.50.0 (osv)
- DataRecce recce: \< 1.50.0 (cvelist)

## Mitigation

- Upgrade recce to 1.50.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-49360. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49360.md
Affected: recce < 1.50.0
Fixed in: 1.50.0

Steps:
1. Search this machine and project for recce (PyPI), DataRecce recce: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-49360 being exploited?

There is no confirmed exploitation: CVE-2026-49360 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.07% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-49360?

High: CVSS 7.8 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-49360?

recce \< 1.50.0.

### Is there a fix for CVE-2026-49360?

Yes. Fixed in 1.50.0. Upgrade recce to 1.50.0 or later.

### How do I check if I'm affected by CVE-2026-49360?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-49360>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rh62-j648-g5qc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3049> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-49360> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-49360>
