CVE-2026-0603
Hibernate vulnerable to SQL Injection
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.hibernate » hibernate-core | >= 5.2.8, < 5.3.38 | 5.3.38 |
Blast radius
41% of the dependent artifacts (1,797) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 39,363 |
| 2 hops | 203,834 |
| 3 hops | 71,694 |
| 4 hops | 26,571 |
| 5 hops | 4,113 |
| 6 hops | 1,084 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- org.hibernate » hibernate-entitymanager3,112 usages
- com.atlassian.confluence » confluence724 usages
- org.hibernate » hibernate-ehcache557 usages
- org.hibernate » hibernate-c3p0529 usages
- org.sakaiproject.kernel » sakai-kernel-api504 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.hibernate » hibernate-hikaricp477 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.sakaiproject.kernel » sakai-kernel-util344 usages
- org.apereo.cas » cas-server-core-api-test-category335 usages
- org.hibernate » hibernate-envers327 usages
- org.apereo.cas » cas-server-core-util296 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-0603
- Webhttps://github.com/hibernate/hibernate-orm/commit/3f820fdf16ee4d1f556bc73b259625416d703048
- Webhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0603.json
- Packagehttps://github.com/hibernate/hibernate-orm
- Webhttps://bugzilla.redhat.com/show_bug.cgi?id=2427147
- Webhttps://access.redhat.com/security/cve/CVE-2026-0603
- Webhttps://access.redhat.com/errata/RHSA-2026:76134
- Webhttps://access.redhat.com/errata/RHSA-2026:76132
- Webhttps://access.redhat.com/errata/RHSA-2026:76130
- Webhttps://access.redhat.com/errata/RHSA-2026:76129
- Webhttps://access.redhat.com/errata/RHSA-2026:76128
- Webhttps://access.redhat.com/errata/RHSA-2026:6012
- Webhttps://access.redhat.com/errata/RHSA-2026:6011
- Webhttps://access.redhat.com/errata/RHSA-2026:4924
- Webhttps://access.redhat.com/errata/RHSA-2026:4917
- Webhttps://access.redhat.com/errata/RHSA-2026:4916
- Webhttps://access.redhat.com/errata/RHSA-2026:4915
