SQL Injection Affecting org.hibernate:hibernate-core package, versions [,5.3.38)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (23rd 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGHIBERNATE-15038759
  • published20 Jan 2026
  • disclosed19 Jan 2026
  • creditChristiaan Swiers, Tommy Williams

Introduced: 19 Jan 2026

CVE-2026-0603  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.hibernate:hibernate-core to version 5.3.38 or higher.

Overview

org.hibernate:hibernate-core is a library providing Object/Relational Mapping (ORM) support to applications, libraries, and frameworks.

Affected versions of this package are vulnerable to SQL Injection via the InlineIdsOrClauseBuilder component when unsanitized non-alphanumeric characters are present in the ID column. An attacker can access sensitive information and manipulate or delete data by injecting crafted input.

Note:

This is only exploitable if the user is able to set their own ids and those ids allow non-alphanumeric characters and the application is using InlineIdsOrClauseBuilder.

CVSS Base Scores

version 4.0
version 3.1