Skip to content

Harden remote-origin configs with enable_external_access=false #253

Done

Description

@jrosskopf

Deferred from #241. For a config loaded from S3/GCS/Azure, DuckDB's enable_external_access=false after bootstrap would stop templates reading arbitrary files and URLs.

Caution: the 2.0.1 blog says CREATE SECRET is refused with external access off, but the release notes show that check was reverted (duckdb#29007) and the v2.0.1 tag has no such check, so do not rely on it. Needs: what flAPI itself still needs after bootstrap (httpfs for remote templates, DuckLake data paths, extension loading), a per-config opt-out, and real-binary tests that a template's read_csv('/etc/passwd') / read_text('http://…') is refused while every documented endpoint type still works.

Activity

  1. added 20 commits that reference this issue on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions