GitHub Advisoryadvisory · Maven
GHSA-2p5w-cvg5-gc5c Hibernate vulnerable to SQL Injection
HIGH
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)
- CVE-2026-0603 A flaw was found in Hibernate. vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- 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