WaratekVRT Sign in

CVE-2026-0603

Severity8.3 High CVSS 3.1 2 scores
Fixed in5.3.38
WeaknessSQL injection (CWE-89)
Published23 Jan 2026
Updated4 Nov 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 2 repositories below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed, none at 5+ stars
  • EPSS 1.0% chance in 30 days

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC yym8538/CVE-2026-0603 1 2026-08-21
GitHub PoC Hibernate ORM Second-Order SQL Injection 1 2026-04-23

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2427147 : a Red Hat bug: the triage, which links onward to the fix

How to mitigate CVE-2026-0603

Upgrade the affected software to 5.3.38 or later. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.3 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.3 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L secalert@redhat.com Secondary published
CVSS 3.1 8.3 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L redhat-SADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.hibernate:hibernate-core 5.2.8 5.3.38 unbounded

Products and versions

1 product, 1 version entry
SourceVendorProductSchemeAffected versions
osv org.hibernate hibernate-core generic ≥ 5.2.8 and < 5.3.38

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2427147 bugzilla
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://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

Timeline

Published2026-01-23By the CVE Program.
NVD record modified2026-11-04NVD's own last-modified date for this record.