Skip to content

Backport #115334 to 26.3: Do not let SET <name> = DEFAULT bypass the settings constraints - #116264

Merged
alexey-milovidov merged 1 commit into
26.3from
backport/26.3/115334
Aug 26, 2026
Merged

alexey-milovidov merged 1 commit into
26.3from
backport/26.3/115334

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #115334
Cherry-pick pull-request #115937

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.3.23.5

@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Aug 25, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [a883636]

Summary: ✅

@alexey-milovidov
alexey-milovidov merged commit e8292ef into 26.3 Aug 26, 2026
34 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/26.3/115334 branch August 26, 2026 03:02
bytehalo-infra added a commit to sentioxyz/ClickHouse that referenced this pull request Sep 25, 2026
ACCESS: `SET <name> = DEFAULT` resets a constrained setting (e.g. readonly) to its built-in default -> security: settings constraints bypassed.
Effect in the production build a394e92: reproduced by hand: `SET readonly = 2; SET readonly = DEFAULT` leaves readonly = 0 on the production build and 2 on official 26.8.8.8.
Upstream patch unchanged, with its test(s): 05023_set_default_bypasses_settings_constraints.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants