{"cve":"CVE-2024-41672","nvd":{"published":"2024-07-24T18:15:05.527","modified":"2026-06-17T07:48:01.323","status":"Modified","description":"DuckDB is a SQL database management system. In versions 1.0.0 and prior, content in filesystem is accessible for reading using `sniff_csv`, even with `enable_external_access=false`. This vulnerability provides an attacker with access to filesystem even when access is expected to be disabled and other similar functions do NOT provide access. There seem to be two vectors to this vulnerability. First, access to files that should otherwise not be allowed. Second, the content from a file can be read (e.g. `/etc/hosts`, `proc/self/environ`, etc) even though that doesn't seem to be the intent of the sniff_csv function. A fix for this issue is available in commit c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a and is expected to be part of version 1.1.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-200"],"references":["https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a","https://github.com/duckdb/duckdb/pull/13133","https://github.com/duckdb/duckdb/security/advisories/GHSA-w2gf-jxc9-pf2q","https://github.com/duckdb/duckdb/commit/c9b7c98aa0e1cd7363fe8bb8543a95f38e980d8a","https://github.com/duckdb/duckdb/pull/13133"],"products":["duckdb:duckdb"],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-41672","score":0.00813,"percentile":0.57022,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-w2gf-jxc9-pf2q","url":"https://osv.dev/vulnerability/GHSA-w2gf-jxc9-pf2q","summary":"sniff_csv provides filesystem access even when enable_external_access is disabled in duckdb","modified":"2026-06-10T17:14:18.587331180Z","packages":[{"ecosystem":"PyPI","name":"duckdb","purl":"pkg:pypi/duckdb","ranges":[">=1.0.0 <1.1.0"],"fixed":["1.1.0"]}]},{"id":"PYSEC-2024-203","url":"https://osv.dev/vulnerability/PYSEC-2024-203","summary":"","modified":"2026-06-10T17:14:16.437007253Z","packages":[{"ecosystem":"PyPI","name":"duckdb","purl":"pkg:pypi/duckdb","ranges":["<1.1.0"],"fixed":["1.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}