CVE-2026-0603
JSON

8.3high

Org.hibernate/hibernate-core: hibernate: information disclosure and data deletion via second-order sql injection

Severity
8.3high CVSS:3.1 by redhat
Exploit likelihood
1.31% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-2p5w-cvg5-gc5c

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.

Affected

Product or packageVersionsReported by
org.hibernate/hibernate-corefrom 5.2.8 up to 5.6.15
Not affected: from 5.3.38.Final-redhat-00001 before *
CVE List
eap7-hibernateNot specified
Not affected: from 0:5.1.17-4.Final_redhat_00005.1.ep7.el7 before *, from 0:5.3.38-1.Final_redhat_00001.1.el7eap before *, from 0:5.3.38-1.Final_redhat_00001.1.el8eap before *, from 0:5.3.38-1.Final_redhat_00001.1.el9eap before *
CVE List
eap7-wildflyNot specified
Not affected: from 0:7.1.14-4.GA_redhat_00003.1.ep7.el7 before *, from 0:7.3.17-5.GA_redhat_00006.1.el7eap before *, from 0:7.4.24-4.GA_redhat_00002.1.el7eap before *, from 0:7.4.24-4.GA_redhat_00002.1.el8eap before *, from 0:7.4.24-4.GA_redhat_00002.1.el9eap before *
CVE List
hibernate-coreNot specifiedCVE List
rh-sso7-keycloakNot specified
Not affected: from 0:18.0.20-1.redhat_00001.1.el7sso before *, from 0:18.0.20-1.redhat_00001.1.el8sso before *, from 0:18.0.20-1.redhat_00001.1.el9sso before *
CVE List
rh-sso-7/sso76-openshift-rhel8Not specified
Not affected: from 7.6-85 before *
CVE List
rhoai/odh-trustyai-service-rhel8Not specifiedCVE List
rhoai/odh-trustyai-service-rhel9Not specifiedCVE List
devspaces/openvsx-rhel9Not specifiedCVE List
devspaces/pluginregistry-rhel9Not specifiedCVE List
candlepinNot specifiedCVE List
satellite:el8/candlepinNot specifiedCVE List

All scores

redhat8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
redhat-SADP8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
GitHub8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en Hibernate. Un atacante remoto con pocos privilegios podría explotar una vulnerabilidad de inyección SQL de segundo orden al proporcionar caracteres no alfanuméricos especialmente diseñados y no saneados en la columna ID cuando se utiliza el InlineIdsOrClauseBuilder. Esto podría llevar a la revelación de información sensible, como la lectura de archivos del sistema, y permitir la manipulación o eliminación de datos dentro de la base de datos de la aplicación, lo que resultaría en una denegación de servicio a nivel de aplicación.

References

https://access.redhat.com/errata/RHSA-2026:4915vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:4916vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:4917vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:4924vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:6011vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:6012vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:76128vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:76129vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:76130vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:76132vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:76134vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-0603vdb-entry, web

Sources

SourceRecordLicence
CVE ListCVE-2026-0603 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-2p5w-cvg5-gc5c changed 2026-10-06CC-BY-4.0
NVDCVE-2026-0603 changed 2026-11-26Public domain