Insufficiently Protected Credentials Affecting org.mariadb.jdbc:mariadb-java-client package, versions [,2.7.14)[3.0.0,3.3.5)[3.4.0,3.4.3)[3.5.0,3.5.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGMARIADBJDBC-19428594
  • published29 Aug 2026
  • disclosed28 Aug 2026
  • creditfg0x0

Introduced: 28 Aug 2026

NewCVE-2026-55857  (opens in a new tab)
CWE-319  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

Upgrade org.mariadb.jdbc:mariadb-java-client to version 2.7.14, 3.3.5, 3.4.3, 3.5.9 or higher.

Overview

Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the SendPamAuthPacketFactory process. An attacker can obtain sensitive authentication credentials by intercepting network traffic or acting as a man-in-the-middle server during the authentication process. This is only exploitable if connections are made over plain TCP (sslMode=DISABLE) or a TLS mode that does not properly verify server identity, and the attacker can occupy an on-path position or control the server to present an Authentication Switch Request for the dialog plugin.

Workaround

This vulnerability can be mitigated by connecting over verified TLS (set sslMode=verify-full) or using a local Unix socket, or by restricting permitted authentication plugins via restrictedAuth so dialog cannot be negotiated over an insecure transport.

CVSS Base Scores

version 4.0
version 3.1