Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Versions of hibernate-core prior to 5.3.20.Final and from 5.4.0.Final through 5.4.23.Final are affected by a SQL injection flaw in the JPA Criteria API implementation. The source does not describe the exact conditions an attacker needs, but the flaw involves unsanitized literals placed in SQL comments of a query, and it could allow access to unauthorized information. Upgrade to hibernate-core 5.4.24.Final or 5.3.20.Final.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.4 | High | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.029, the 87th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:13 UTC First seen by agentprime
- 31 Oct 2026, 15:13 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-j8jw-g6fq-mp7h
- OSV: GHSA-j8jw-g6fq-mp7h
- nvd.nist.gov/vuln/detail/CVE-2020-25638
- github.com/hibernate/hibernate-orm/commit/36ebf7d3836e83e99f2a91777b5389e1daf1f2b7
- github.com/hibernate/hibernate-orm/commit/59fede7acaaa1579b561407aefa582311f7ebe78
- github.com/hibernate/hibernate-orm/commit/d22bbb5c339c9df7712c3365bb1df97c91b35ec5
- bugzilla.redhat.com/show_bug.cgi?id=1881353
- github.com/hibernate/hibernate-orm
- lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44@%3Cdev.turbine.apache.org%3E
- lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df@%3Ccommits.turbine.apache.org%3E
- lists.debian.org/debian-lts-announce/2021/01/msg00000.html
- www.debian.org/security/2021/dsa-4908
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuapr2022.html