Skip to content

Backport #117407 to 26.8: Fix TOTP bypass in MySQL protocol authentication - #127163

Merged
clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/117407
Oct 21, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/117407

Conversation

@robot-clickhouse-ci-2

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #117407
Cherry-pick pull-request #127119

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.8.34.7

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Oct 21, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [bcfcc88]

Summary: ✅

The expired-method assertions need the fail-close for ambiguous credentials of #110144, which 26.8 does not have:
here a password accepted by any method logs in, on the native protocol too. Keep the part this backport changes:
a user with `double_sha1_password` and a `scram_sha256_password` or `bcrypt_password` method logs in over MySQL
through the `sha256_password` plugin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 77b769d into 26.8 Oct 21, 2026
40 of 41 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.8/117407 branch October 21, 2026 22:52
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.

6 participants