Skip to main content

CVE-2026-49360 — Vulnerability in recce — CVE Details

HIGH

Recce server has unauthenticated SQL execution that allows local file read/write through DuckDB

Published July 2, 2026Updated July 13, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.08%). Schedule for your next planned update.

Does your project use an affected recce version?

Paste your requirements.txt to check it for CVE-2026-49360 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

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.

Credits

Thanks to Sitampan (@hxcbtc) for responsibly reporting this issue.

Workarounds

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.

Advisory Timeline

  • First published July 2, 2026 (147 days ago).
  • Last revised July 13, 2026 — 11 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update recce to 1.50.0 or later
pip install "recce>=1.50.0"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
recce PyPI · Affected: 0.1.0, 0.1.0.dev0, 0.1.0.dev1, 0.1.0.dev2 (+184 more)1.50.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-49360?
Recce server has unauthenticated SQL execution that allows local file read/write through DuckDB. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.3/10).
How do I check if my project is affected by CVE-2026-49360?
CVE-2026-49360 affects recce. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-49360 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.3

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.08%
EPSS percentile: 64.4

This is an above-median EPSS score — 64.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-rh62-j648-g5qc
PYSEC-2026-3049

Related CVEs

  • CVE-2026-128139
    HIGH

    NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service

  • CVE-2026-129222
    HIGH

    Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt