CVE-2024-41672
published high CVSS 3.1 · 7.5DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| duckdb | duckdb | <= 1.0.0 (affected) | GitHub_M · cna |
| duckdb | duckdb | 0 through 1.0.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
3Provider assertions
3GitHub_M · cna
DuckDB: sniff_csv provides filesystem access even when enable_external_access is disabled
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 50968b8616474618263c625b9db945b701760f6e370fd8f85dfd38bf30f38345
- Ingested
- 23 Sep 2026, 08:26:16 UTC
- Source record
- Official CVE record