{"id":"CVE-2026-55857","published":"2026-08-28T22:44:24Z","modified":"2026-08-31T18:22:34Z","title":"MariaDB Connector/J: Cleartext Transmission of Sensitive Information and Insufficiently Protected Credentials","vendor":"mariadb-corporation","product":"mariadb-connector-j","tier":"tail","description":{"text":"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, PAM dialog authentication can be coerced into transmitting the account password over an insecure connection. The mysql_clear_password plugin is gated behind a secure transport, but the sibling PAM handler SendPamAuthPacketFactory, named dialog by the server, does not declare that requirement and inherits the default secure-required value false; older branches implement the same affected behavior in SendPamAuthPacket. A hostile or man-in-the-middle server can send an Authentication Switch Request for dialog over plain TCP, causing the driver to return the user's password in cleartext when sslMode=DISABLE and restrictedAuth=null, which is the default configuration. Properly verified TLS and local Unix sockets are not exposed to this transport vector. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.34015,"provenance":"source"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-qxvw-fvwx-5cp7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/a8599ab1cbe4b8818ea945bf56a4e012c302b388","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/commit/f4a727c764d1cf48fd0c3d5e301dfa92503e0a58","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.9","tags":["x_refsource_MISC"]},{"url":"https://jira.mariadb.org/browse/CONJ-1320","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.8},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mariadb","affectedVersions":[{"vendor":"mariadb-corporation","product":"mariadb-connector-j","versions":["< 2.7.14",">= 3.0.0, < 3.3.5",">= 3.4.0, < 3.4.3",">= 3.5.0, < 3.5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-31T18:22:25.821853Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.mariadb.jdbc:mariadb-java-client","vulnerableRanges":["<2.7.14",">=3.0.0, <3.3.5",">=3.4.0, <3.4.3",">=3.5.0, <3.5.9"],"patched":["2.7.14","3.3.5","3.4.3","3.5.9"],"from":["GHSA-qxvw-fvwx-5cp7"],"provenance":"source"}],"summary":{"text":"The MariaDB Connector/J Java driver, used to connect applications to MariaDB and MySQL databases, has a flaw in its PAM dialog authentication handler (SendPamAuthPacketFactory, with SendPamAuthPacket in older branches) that can cause it to send the account password in cleartext. An attacker who can act as a hostile or man-in-the-middle server on a plain TCP connection can trigger this when the connection is unencrypted (sslMode=DISABLE) and restrictedAuth is unset, which is the default configuration; properly verified TLS and local Unix sockets are not exposed to this vector.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:00Z"},"euvd":{"id":"EUVD-2026-68020","exploited":false,"provenance":"source"}}