GitHub Advisoryadvisory · Maven

GHSA-2p5w-cvg5-gc5c Hibernate vulnerable to SQL Injection

HIGH Published 2026-01-23 Modified 2026-10-06 Official page ↗
Aliases
CVE-2026-0603
Ecosystem
Maven
Packages
org.hibernate:hibernate-core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Weaknesses
CWE-89
Reviewed
2026-04-16

Affected packages

• Maven org.hibernate:hibernate-core: >= 5.2.8, < 5.3.38 → fixed in 5.3.38

Description

A flaw was found in Hibernate. A remote attacker with low privileges could exploit a second-order SQL injection vulnerability by providing specially crafted, unsanitized non-alphanumeric characters in the ID column when the InlineIdsOrClauseBuilder is used. This could lead to sensitive information disclosure, such as reading system files, and allow for data manipulation or deletion within the application's database, resulting in an application level denial of service.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References