You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
duckdb-hardening: userinfo in an allowed http(s) URL is readable by templates via allowed_directories #266
Under external-access: restricted (#253), AllowListEntry strips only the query string of http(s) entries (StripQuery in src/vfs_adapter.cpp). Userinfo (https://user:token@host/dir/) - from allowed-directories or a remote config URL that carries it - is kept in DuckDB's allowed_directories setting, which any template can read with current_setting('allowed_directories') or duckdb_settings(). The startup log line is redacted; the setting is not.
Low severity: credentials in a URL's userinfo are rare and already discouraged. Options: refuse userinfo in allow-list entries with a startup error naming the key, or strip it (DuckDB's prefix match would then not cover requests that carry it).
Activity