CVE-2026-55856
Last modified
CVE-2026-55856 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, when a Java application connects with sslMode=verify-full or sslMode=verify-ca, supplies a password, and does not configure serverSslCert or trustStore, Connector/J can accept an untrusted self-signed certificate through the fallbackToSystemTrustStore=true ephemeral trust manager and record its certFingerprint for later identity binding. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, when a Java application connects with sslMode=verify-full or sslMode=verify-ca, supplies a password, and does not configure serverSslCert or trustStore, Connector/J can accept an untrusted self-signed certificate through the fallbackToSystemTrustStore=true ephemeral trust manager and record its certFingerprint for later identity binding. The OK-packet and authentication-switch paths enforce the certificate fingerprint, but the initial-handshake path does not. HandshakeResponse.encode() can therefore build and send a mysql_clear_password response before checking certFingerprint != null && !isMitMProof(), sslMode, or whether the authentication plugin is resistant to a man-in-the-middle, and the initial path also bypasses restrictedAuth. An active man-in-the-middle or hostile server can present a self-signed certificate, claim to be MariaDB, select mysql_clear_password as the initial authentication plugin, and receive the full database password before the connection is rejected. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mariadb-corporation | mariadb-connector-j | < 2.7.14; >= 3.0.0, < 3.3.5; >= 3.4.0, < 3.4.3; >= 3.5.0, < 3.5.9 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-55856?
How severe is CVE-2026-55856?
How do I fix CVE-2026-55856?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5585A vulnerability was found in Tencent AI-Infra-Guard 4.0. The…7.5
- CVE-2026-55850Element Web is a Matrix web client built using the Matrix Re…5.3
- CVE-2026-55851Netty is a network application framework for development of …7.5
- CVE-2026-55852Frappe is a full-stack web application framework. Prior to 1…8.6
- CVE-2026-55854MariaDB Connector/Node.js is used to connect applications de…5.9
- CVE-2026-55855MariaDB Connector/Node.js is used to connect applications de…6.5
- CVE-2026-55857MariaDB Connector/J is used to connect applications develope…5.9
- CVE-2026-55858MariaDB Connector/J is used to connect applications develope…5.9
- CVE-2026-55859MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL …5.9
- CVE-2026-5586A vulnerability was determined in zhongyu09 openchatbi up to…6.3
- CVE-2026-55860MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL …5.9
- CVE-2026-55863motionEye (mEye) is an online interface for a piece of softw…5.3
Are you affected by CVE-2026-55856?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
