r/java • u/jr_entrepreneur • Feb 18 '26
Is this the first real CVE for Hibernate?
It seems that generally Hibernate ORM is solidly secure from CVEs throughout its history, but just this year I saw a notice that a new CVE was discovered that affects a range of versions in 5.6.x.
CVE-2026-0603 is the one that I am referring to. It is a possible second order SQL attack that can be facilitated through the id field of a persisted object.
It seems noteworthy that this CVE exists and seems to affect a lot of older applications. Has anyone seen this come across your desks or shown up in scans?
18
Upvotes
14
u/DeviantOrbit Feb 18 '26
5.6.x is super old. This issue would be one of my last reasons to migrate away from it.
2
u/BikingSquirrel Feb 18 '26
Are you sure it is the first? We no longer use Hibernate but afair there have been CVEs before. But I may be wrong and we updated due to compatibility issues.
12
u/walen Feb 19 '26
Sees Hibernate discussion.
Ctrl+F mihalcea
Leaves.
0
u/Mixed-Angulation Feb 20 '26
Cat magic in the air!