CVE-2026-114952 – The MySQL client encrypts your password to a server it never authenticated
Oracle MySQL Server and MySQL Cluster, component Client programs, is rated 9.1 with a network vector and no privileges required. A client that fetches the server RSA key during caching_sha2_password full authentication accepts whatever key the peer returns. This lab recovers the account password with the genuine 8.4.13 client and replays it against the real server. Oracle has not published a fix outside My Oracle Support.
CVE-2026-114952 sits in the client programs of Oracle MySQL, the binaries and shared library that connect to a database rather than serve one: mysql, mysqldump, mysqladmin, mysqlcheck, mysqlbinlog and anything linked against libmysqlclient. The advisory published on 2026-11-17 rates it 9.1, network reachable, low complexity, no privileges and no user interaction.
The defect is a trust decision in the connection phase. On a connection without TLS, the caching_sha2_password client plugin can ask the peer for an RSA public key, then encrypt the account password under it. The client does not check that the key belongs to the server it intended to reach. A host that answers as the server supplies its own key and decrypts the password.
Oracle lists MySQL Server 8.4.0 through 8.4.13, 9.7.0 through 9.7.4 and 26.10 as affected, plus MySQL Cluster 8.0.0 through 8.0.50 on the same branches. There is no public fixed build. The November 2026 Critical Security Patch Update is available to My Oracle Support customers, and the public source tree still ends at the vulnerable tags.
If your automation trusts a key the network handed it, who is the server it just authenticated to?
Vulnerability at a Glance
What Actually Breaks
The MySQL connection phase is driven by the server. The server names the authentication plugin, supplies the scramble, and can request full authentication at any point. With caching_sha2_password on a non-TLS connection, full authentication needs an RSA key. The client asks the peer for it and encrypts the password under the reply.
Defect – the peer key has no trust anchor
The exchange below was captured against the genuine mysql 8.4.13 client in this lab. The client requested the key, accepted the impostor key without any comparison to the real server, and sent the password encrypted under it.
client -> peer HandshakeResponse41, plugin=caching_sha2_password
peer -> client AuthMoreData 0x04 (perform full authentication)
client -> peer 0x02 (send me your public key)
peer -> client 0x01 +
client -> peer RSA-OAEP(password XOR scramble)
peer decrypt with its private key, XOR out scramble
peer recovered password in cleartext
The key is used because the client was told to fetch it. The affected invocation is –get-server-public-key, which appears in CI jobs, backup scripts and jump-host tooling that cannot manage a CA bundle. The same client without that flag fails closed with ERROR 2061 (HY000): Authentication plugin ‘caching_sha2_password’ reported error: Authentication requires secure connection.
Mitigation – pin the key or require TLS
Pinning the real server public key removes the attacker’s advantage. The client encrypts to the pinned key, which the impostor does not hold, so the blob cannot be decrypted. Requiring TLS with certificate verification closes the path in the same way.
# vulnerable: accept the peer key
mysql -h db -u app -p --get-server-public-key
# mitigated: encrypt only to the known server key
mysql -h db -u app -p --server-public-key-path=/etc/mysql/server-public.pem
# mitigated: refuse an unverified peer
mysql -h db -u app -p --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/mysql/ca.pem
No vendor patch diff is public. The defect description follows the only public technical analysis and the advisory impact profile. The lab reproduces the primitive, not a vendor-confirmed code change.
Impact
Proven primitive
The impostor recovered the lab account password from the encrypted blob. It then opened a new session to the genuine MySQL 8.4.13 server as appuser@% and read the three rows in the customers table. No write was performed.
Consequence
The stolen value is the account password, not a session token. It stays valid until it is rotated and works from any host the account is allowed to use. An account used by backups or administration carries the data access of that account, which is why the advisory scores confidentiality and integrity as high.
Scope
Any deployment where an affected client fetches the server key over a path an attacker can answer is exposed: a poisoned DNS record, a hostile proxy, a spoofed address, or a connection string that takes the host from a ticket or a user. This part is analysis. The lab demonstrates the primitive on one host pair and does not measure the population.
Lab Reproduction
The lab runs three containers on a private bridge network: the genuine MySQL 8.4.13 server, an authentication-only impostor that serves its own RSA key, and the genuine MySQL 8.4.13 client. Images are pinned by manifest digest. The host was arm64 and Docker server 29.9.3.

Figure 1. The vulnerable client completes full authentication with the impostor. The payload is visible because this is a recording of the exploit running.

Figure 2. The impostor recovers the password, replays it against the real server and reads three rows. The last block is the negative control: the pinned-key client produces DECRYPT-FAIL and no second credential.
Attack Scenarios
Scenario 1 – Attacker answers the connection
An attacker who can answer for the database host, through a poisoned record or a hostile proxy, runs an endpoint that advertises caching_sha2_password and no TLS. A client started with –get-server-public-key encrypts the password to the attacker key. This scenario is analysis, with the primitive demonstrated in the lab.
Scenario 1 – Attack flow
Operator runs mysql --get-server-public-key -h db.internal
|
| DNS or proxy points db.internal at the attacker
v
Attacker endpoint: caching_sha2_password, no TLS
|
| full auth, attacker RSA key
v
Client sends RSA-OAEP(password XOR scramble)
|
v
Attacker decrypts, replays against the real server
Scenario 2 – Backup job over an untrusted path
A nightly mysqldump job uses a database account with broad read access and fetches the server key because the job has no CA bundle. The account password is recoverable from the job’s traffic. Analysis only.
Scenario 2 – Backup flow
CI job: mysqldump --get-server-public-key
|
| network path controlled by attacker
v
Impostor recovers backup account password
|
v
Attacker reads every table the backup account can read
Scenario 3 – Tool that accepts a user-supplied host
A multi-tenant tool lets a user enter a database host and connects with a shared service account. The user points it at an endpoint they control, and the shared credential is disclosed. Analysis only.
Scenario 3 – Shared account flow
Tenant supplies host value
|
v
Tool connects with shared service account
|
v
Tenant endpoint receives the shared password
|
v
Tenant reads other tenants' data
Affected Products and Fixed Versions
Published 2026-11-17. The November 2026 CSPU is distributed through My Oracle Support. Public tags checked on 2026-11-20 stop at mysql-8.4.13, mysql-cluster-9.7.4 and mysql-cluster-26.10.0, with no commit after 2026-10-27. Third-party trackers quoting 8.4.14, 9.7.5 or 26.11 were not confirmed by Oracle.
How Enterprises Should Respond
- Find the clients, not just the servers.
The advisory names client programs. Inventory the binaries and the shared library, including images, jump hosts and build agents.
- Check versions. mysql –version on every host and image, plus packages that bundle libmysqlclient.
- Include containers. A client inside a CI image is still a client.
- Remove key fetching from automation.
Search scripts, CI configuration and connection strings for –get-server-public-key and for driver settings that fetch the server key.
- Replace with pinning. Ship the server public key and use –server-public-key-path.
- Or require TLS. Use –ssl-mode=VERIFY_IDENTITY with a CA bundle the client trusts.
- Rotate credentials used from affected clients.
A password sent under an unverified key has to be treated as disclosed if the connection crossed a path you do not control.
- Rotate first, investigate second. The value is a long-lived password, not a session.
- Check authentication logs. Look for the account connecting from hosts it does not normally use.
- Apply the vendor build when it is available.
Track the My Oracle Support CSPU for 8.4, 9.7 and 26.10. The public tree has no fixed tag yet.
- Re-test after patching. The same rogue-server check should show no recovery.
- Do not treat 8.4.13 as fixed. The advisory range ends at that release.
Closing
This is a client-side trust failure with consequences on the server side. The client is the component that decides which key to use, and in the affected configuration it asks the network. Pinning the key or verifying the certificate takes that decision away from the attacker.
unverified peer key + password + --get-server-public-key
= recoverable credential
recoverable credential + real server
= the account's read and write access
References
Oracle advisory: https://www.oracle.com/security-alerts/cspunov2026.html
CVE record: https://cveawg.mitre.org/api/cve/CVE-2026-114952
NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-114952
GitHub Advisory GHSA-cw64-jwv6-f83g: https://github.com/advisories/GHSA-cw64-jwv6-f83g
Red Hat CVE page: https://access.redhat.com/security/cve/CVE-2026-114952