{"answers":{"affected":"3 open source packages ship an affected version, including recce.","exploited":"There is no known exploitation of CVE-2026-49360 in the wild and no public exploit code.","fix":"Upgrade recce to 1.50.0 or later.","what":"CVE-2026-49360 is a high-severity SQL injection vulnerability in DataRecce recce, published on 21 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49360 and fix it if it is affected.\n\nWhat it is: CVE-2026-49360 is a high-severity SQL injection vulnerability in DataRecce recce, published on 21 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49360 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- recce (PyPI): affected all versions; fixed in 1.50.0\n- recce (PyPI): affected all versions; fixed in 1.50.0\n- recce (PyPI): affected all versions; fixed in 1.50.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49360/ (Markdown: https://insights.sbomify.com/CVE-2026-49360/index.md)","id":"CVE-2026-49360","markdown":"https://insights.sbomify.com/CVE-2026-49360/index.md","name":"CVE-2026-49360","record":{"aliases":["GHSA-rh62-j648-g5qc","PYSEC-2026-3049"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Recce data validation tool","requires_auth":"none","summary":"Unauthenticated SQL execution in Recce allows attackers to read and write local files via DuckDB primitives when exposed without authentication.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Recce server has unauthenticated SQL execution that allows local file read/write through DuckDB","id":"CVE-2026-49360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Apache Fluss Netty Frame Decoder Memory Exhaustion Vulnerability","id":"CVE-2026-49361"},"packages":[{"ecosystem":"PyPI","fixed":["1.50.0"],"introduced":["0"],"last_affected":[],"package":"recce","purl":null,"source":"GHSA-rh62-j648-g5qc"},{"ecosystem":"PyPI","fixed":["1.50.0"],"introduced":["0"],"last_affected":[],"package":"recce","purl":"pkg:pypi/recce","source":"GHSA-rh62-j648-g5qc"},{"ecosystem":"PyPI","fixed":["1.50.0"],"introduced":["0"],"last_affected":[],"package":"recce","purl":"pkg:pypi/recce","source":"PYSEC-2026-3049"}],"prev":{"headline":"PhpWeasyPrint vulnerable to SSRF and local file disclosure via the attachment option","id":"CVE-2026-49359"},"products":["recce"],"published":"2026-08-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-25","vendors":["DataRecce"]},"summary":"Unauthenticated SQL execution in Recce allows attackers to read and write local files via DuckDB primitives when exposed without authentication.","url":"https://insights.sbomify.com/CVE-2026-49360/"}