Skip to content

Backport #117407 to 26.3: Fix TOTP bypass in MySQL protocol authentication - #127161

Merged
alexey-milovidov merged 2 commits into
26.3from
backport/26.3/117407
Oct 21, 2026
Merged

alexey-milovidov merged 2 commits into
26.3from
backport/26.3/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 #127116

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

@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 [2b8dbd7]

Summary: ✅

The expired-method assertions need the fail-close for ambiguous credentials of #110144, which 26.3 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]>
@alexey-milovidov
alexey-milovidov merged commit 50d5956 into 26.3 Oct 21, 2026
36 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/26.3/117407 branch October 21, 2026 23:31
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