HIGH8.3
GHSA-2p5w-cvg5-gc5c
Hibernate vulnerable to SQL Injection
Quick fix
GHSA-2p5w-cvg5-gc5c — org.hibernate:hibernate-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>5.3.38</version> for org.hibernate:hibernate-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.hibernate:hibernate-core
Introduced in:
5.2.8Fixed in: 5.3.38Fix
# pom.xml: bump <version>5.3.38</version> for org.hibernate:hibernate-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2026-0603[ADVISORY]
- https://github.com/hibernate/hibernate-orm/commit/3f820fdf16ee4d1f556bc73b259625416d703048[WEB]
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0603.json[WEB]
- https://github.com/hibernate/hibernate-orm[PACKAGE]
- https://bugzilla.redhat.com/show_bug.cgi?id=2427147[WEB]
- https://access.redhat.com/security/cve/CVE-2026-0603[WEB]
- https://access.redhat.com/errata/RHSA-2026:76134[WEB]
- https://access.redhat.com/errata/RHSA-2026:76132[WEB]
- https://access.redhat.com/errata/RHSA-2026:76130[WEB]
- https://access.redhat.com/errata/RHSA-2026:76129[WEB]
- https://access.redhat.com/errata/RHSA-2026:76128[WEB]
- https://access.redhat.com/errata/RHSA-2026:6012[WEB]
- https://access.redhat.com/errata/RHSA-2026:6011[WEB]
- https://access.redhat.com/errata/RHSA-2026:4924[WEB]
- https://access.redhat.com/errata/RHSA-2026:4917[WEB]
- https://access.redhat.com/errata/RHSA-2026:4916[WEB]
- https://access.redhat.com/errata/RHSA-2026:4915[WEB]