cve.bz

CVE-2026-0603 SQL Injection

8.3 highEPSS 1.3%Fix available

High (8.3). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.hibernate:hibernate-core 5.3.38.

On this page
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.

Severity

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
EPSS
1.3% (up from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.hibernate:hibernate-core (Maven): fixed in 5.3.38
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: fixed in 0:5.1.17-4.Final_redhat_00005.1.ep7.el7
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: fixed in 0:7.1.14-4.GA_redhat_00003.1.ep7.el7
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: fixed in 0:5.3.38-1.Final_redhat_00001.1.el7eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: fixed in 0:7.3.17-5.GA_redhat_00006.1.el7eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4.24: fixed in 5.3.38.Final-redhat-00001
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7: fixed in 0:5.3.38-1.Final_redhat_00001.1.el7eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7: fixed in 0:7.4.24-4.GA_redhat_00002.1.el7eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8: fixed in 0:5.3.38-1.Final_redhat_00001.1.el8eap
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-0603 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0603?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0603?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-0603 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 70:5.1.17-4.Final_redhat_00005.1.ep7.el7
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 70:7.1.14-4.GA_redhat_00003.1.ep7.el7
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 70:5.3.38-1.Final_redhat_00001.1.el7eap
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 70:7.3.17-5.GA_redhat_00006.1.el7eap
Red Hat JBoss Enterprise Application Platform 7.4.245.3.38.Final-redhat-00001
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 70:5.3.38-1.Final_redhat_00001.1.el7eap
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 70:7.4.24-4.GA_redhat_00002.1.el7eap
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 80:5.3.38-1.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 80:7.4.24-4.GA_redhat_00002.1.el8eap
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 90:5.3.38-1.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 90:7.4.24-4.GA_redhat_00002.1.el9eap
Red Hat Single Sign-On 7.6 for RHEL 70:18.0.20-1.redhat_00001.1.el7sso
Red Hat Single Sign-On 7.6 for RHEL 80:18.0.20-1.redhat_00001.1.el8sso
Red Hat Single Sign-On 7.6 for RHEL 90:18.0.20-1.redhat_00001.1.el9sso
Red Hat RHEL-8 based Middleware Containers7.6-85

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2p5w-cvg5-gc5cMavenorg.hibernate:hibernate-core>=5.2.8 <5.3.385.3.38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-apache-cxf, eap7-apache-cxf-rt, eap7-apache-cxf-tools and 1 more0:3.5.11-1.SP1_redhat_00001.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-eclipse-jgit0:5.13.5.202508271544-2.r_redhat_00001.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more0:5.3.38-1.Final_redhat_00001.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-jboss-marshalling, eap7-jboss-marshalling-river0:2.0.16-1.Final_redhat_00001.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.124-1.Final_redhat_00001.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-undertow0:2.2.39-1.Final_redhat_00001.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.24-4.GA_redhat_00002.1.el7eapRHSA-2026:4915
Red Hatjboss_enterprise_application_platform_els:7.4::el8eap7-apache-cxf, eap7-apache-cxf-rt, eap7-apache-cxf-tools and 1 more0:3.5.11-1.SP1_redhat_00001.1.el8eapRHSA-2026:4916
Red Hatjboss_enterprise_application_platform_els:7.4::el8eap7-eclipse-jgit0:5.13.5.202508271544-2.r_redhat_00001.1.el8eapRHSA-2026:4916
Red Hatjboss_enterprise_application_platform_els:7.4::el8eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more0:5.3.38-1.Final_redhat_00001.1.el8eapRHSA-2026:4916
Red Hatjboss_enterprise_application_platform_els:7.4::el8eap7-jboss-marshalling, eap7-jboss-marshalling-river0:2.0.16-1.Final_redhat_00001.1.el8eapRHSA-2026:4916
Red Hatjboss_enterprise_application_platform_els:7.4::el8eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more0:4.1.124-1.Final_redhat_00001.1.el8eapRHSA-2026:4916
23 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important for Red Hat products as it allows a remote attacker with low privileges to perform second-order SQL injection in applications using Hibernate's InlineIdsOrClauseBuilder with unsanitized non-alphanumeric characters in the ID column. This could lead to sensitive information disclosure and data manipulation or deletion.Affected Hibernate ORM versions are 5.2.8 through 5.6.15 (inclusive); earlier versions are not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-hibernate-0:5.1.17-4.Final_redhat_00005.1.ep7.el7Fixed 2026-03-30RHSA-2026:6012
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-wildfly-0:7.1.14-4.GA_redhat_00003.1.ep7.el7Fixed 2026-03-30RHSA-2026:6012
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-hibernate-0:5.3.38-1.Final_redhat_00001.1.el7eapFixed 2026-03-30RHSA-2026:6011
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-wildfly-0:7.3.17-5.GA_redhat_00006.1.el7eapFixed 2026-03-30RHSA-2026:6011
Red Hat JBoss Enterprise Application Platform 7.4.24org.hibernate/hibernate-core:5.3.38.Final-redhat-00001Fixed 2026-03-18RHSA-2026:4924
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-hibernate-0:5.3.38-1.Final_redhat_00001.1.el7eapFixed 2026-03-18RHSA-2026:4915
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-wildfly-0:7.4.24-4.GA_redhat_00002.1.el7eapFixed 2026-03-18RHSA-2026:4915
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8eap7-hibernate-0:5.3.38-1.Final_redhat_00001.1.el8eapFixed 2026-03-18RHSA-2026:4916
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8eap7-wildfly-0:7.4.24-4.GA_redhat_00002.1.el8eapFixed 2026-03-18RHSA-2026:4916
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9eap7-hibernate-0:5.3.38-1.Final_redhat_00001.1.el9eapFixed 2026-03-18RHSA-2026:4917
Red Hat AMQ Broker 7hibernate-coreAffected
Red Hat build of OptaPlanner 8hibernate-coreWill not fix
Red Hat Data Grid 8hibernate-coreNot affected
Red Hat Fuse 7hibernate-coreWill not fix
Red Hat JBoss Enterprise Application Platform 7hibernate-coreAffected
Red Hat JBoss Enterprise Application Platform 8hibernate-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packhibernate-coreNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-trustyai-service-rhel8Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-trustyai-service-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Not affected
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-0603.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON