DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| duckdb | duckdb | up to 1.0.0 | — | No fix listed | CNA |
| — | duckdb (PyPI) | 1.0.0 to before 1.1.0 | 1.1.0 | Patch available | GHSA-w2gf-jxc9-pf2q |
- duckdb Vendorduckdb Affected up to 1.0.0 Fixed in — No fix listed CNA
- duckdb (PyPI) Vendor— Affected 1.0.0 to before 1.1.0 Fixed in 1.1.0 Patch available GHSA-w2gf-jxc9-pf2q
Remediation
- Fix · GHSA-w2gf-jxc9-pf2q duckdb (PyPI) Fixed in 1.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-41672
- 2026-10-03 Alias added: GHSA-w2gf-jxc9-pf2q
References
Patch 2
More Duckdb vulnerabilities
- TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
- TI-2025-39842 DuckDB Encryption Crypto implementation is vulnerable CVSS 4.0MEDIUM 6.9
Sources
- CVE-2024-41672 · CVE Program
- CVE-2024-41672 · NVD
- FIRST EPSS
- GHSA-w2gf-jxc9-pf2q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences