cve.bz

CVE-2026-119210 mariadb-corporation mariadb-connector-j: External Control of File Name or Path

5.9 mediumEPSS 0.4%Fix available

Medium (5.9) in mariadb-corporation mariadb-connector-j. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.mariadb.jdbc:mariadb-java-client 3.3.7, 3.4.5, 3.5.11.

On this page
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, the ClientMessage.validateLocalFileName() check used a regular expression that could match LOAD DATA LOCAL INFILE text inside quoted identifiers, string literals, or comments instead of requiring a real statement. A malicious or compromised server, or a machine-in-the-middle attacker, could return crafted database or table identifiers that the connector reused in metadata or updatable-result queries, then answer with a LOCAL INFILE request for a client file. With allowLocalInfile enabled, this caused the connector to stream any readable client-host file named by the crafted text, including through DatabaseMetaData.getImportedKeys(), DatabaseMetaData.getExportedKeys(), or ResultSet.updateRow() paths. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-73 External Control of File Name or Path
OWASP Top 10
A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-119210 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-119210?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-119210?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-119210 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
mariadb-corporation mariadb-connector-j>= 3.0.0, < 3.3.7
mariadb-corporation mariadb-connector-j>= 3.4.0, < 3.4.5
mariadb-corporation mariadb-connector-j>= 3.5.0, < 3.5.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fhx5-2xqw-2cgmMavenorg.mariadb.jdbc:mariadb-java-client>=3.0.0 <3.3.73.3.7
GHSA-fhx5-2xqw-2cgmMavenorg.mariadb.jdbc:mariadb-java-client>=3.4.0 <3.4.53.4.5
GHSA-fhx5-2xqw-2cgmMavenorg.mariadb.jdbc:mariadb-java-client>=3.5.0 <3.5.113.5.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14mariadb-connector-javano fix listedDEBIAN-CVE-2026-119210
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moremariadb-connector-javano fix listedUBUNTU-CVE-2026-119210
openSUSETumbleweedmariadb-java-client3.5.11-1.1openSUSE-SU-2026:12401-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because successful exploitation requires an attacker to control a rogue database server or perform active network interception against database connections. In standard Red Hat deployments, Java applications connect to authenticated backend database instances across protected internal networks, which restricts exposure. Although an attacker in this position could read client-side files accessible to the application process, the flaw does not allow modifying data or executing code.

Red Hat's mitigation

Disable the local file transfer feature by setting the `allowLocalInfile` connection option to `false` in the JDBC connection configuration.

In the JDBC connection string, append the property:

```

jdbc:mariadb://<host>:<port>/<database>?allowLocalInfile=false

```

Or set the parameter in application datasource properties:

```properties

allowLocalInfile=false

```

Additionally, ensure TLS with server certificate validation (such as `sslMode=verify-full`) is configured to protect against machine-in-the-middle tampering.

Caveats:

Disabling this option prevents the application from executing `LOAD DATA LOCAL INFILE` commands to transfer client files to the database.

Warning: Modifying database connection parameters requires restarting the dependent application or service for changes to take effect.

ProductPackageStateAdvisory
Red Hat build of Debezium 3mariadb-java-clientFix deferred
Red Hat Build of Keycloakmariadb-java-clientFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9Fix deferred
Red Hat build of Quarkusmariadb-java-clientAffected
Red Hat Enterprise Linux 10mariadb-java-clientFix deferred
Red Hat Enterprise Linux 8mariadb:10.3/mariadbFix deferred
Red Hat Enterprise Linux 8mariadb-devel:10.3/mariadbFix deferred
Red Hat Enterprise Linux 9mariadb-java-clientFix deferred
Red Hat Hardened Imagesmariadb10.11Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-trustyai-service-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)mariadbOut of support scope
Red Hat Satellite 6candlepinFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-119210.

Attack patterns (CAPEC)

  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON