Disclosure summary
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.
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-2p5w-cvg5-gc5c
Open original source · Updated Oct 06, 2026
Hibernate vulnerable to SQL Injection
Source severity: HIGH / 0
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| maven | org.hibernate:hibernate-core | >= 5.2.8, < 5.3.38 | 5.3.38 |
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Reviewed advisory
PUBLISHED 2026-01-23T04:30:28-05:00
MODIFIED 2026-10-06T08:30:23-04:00
INGESTED 2026-10-06T11:45:43-04:00