Skip to content

Hide a SAS-bearing storage account url in the Azure table functions - #128717

Merged
clickhouse-gh[bot] merged 1 commit into
26.8from
backport-azure-sas-table-function-26.8
Nov 2, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.8from
backport-azure-sas-table-function-26.8

Conversation

@alesapin

@alesapin alesapin commented Nov 2, 2026

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fix some cases of query masking form azureBlobStorage table function.

Backport of d496566 from #123364,
which was not backported as a whole because it is a large refactoring.

`azureBlobStorage`, `azureBlobStorageCluster` and the Azure data lake table
functions masked only a connection string's `AccountKey`/`SharedAccessSignature`
and the `account_key` argument, so a storage account url carrying its own
credential (`?sig=...`, `user:key@`) was shown, positional or as a
named-collection override. A user granted only `SELECT` on a view over such a
table function, which implies `SHOW COLUMNS`, could read the SAS through
`SHOW CREATE TABLE`, `system.tables` and `EXPLAIN AST`. Such a value, or one
that is not a plain string literal, is now hidden whole, as the
`AzureBlobStorage` engine and the backup destination already do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [445f729]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the comp-sql-syntax SQL/grammar parsing, AST nodes, syntax-level features. label Nov 2, 2026
@clickhouse-gh
clickhouse-gh Bot merged commit ecdf462 into 26.8 Nov 2, 2026
40 of 41 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport-azure-sas-table-function-26.8 branch November 2, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-sql-syntax SQL/grammar parsing, AST nodes, syntax-level features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant