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.
Problem types
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
5.2.8 (semver)
Timeline
| 2026-01-05: | Reported to Red Hat. |
| 2026-01-19: | Made public. |
Credits
Red Hat would like to thank Christiaan Swiers (YouGina) and Tommy Williams (HeroDevs) for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-0603
bugzilla.redhat.com/show_bug.cgi?id=2427147 (RHBZ#2427147)