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 package | Versions | Reported by |
|---|---|---|
| org.hibernate/hibernate-core | from 5.2.8 up to 5.6.15 Not affected: from 5.3.38.Final-redhat-00001 before * | CVE List |
| eap7-hibernate | Not 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-wildfly | Not 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-core | Not specified | CVE List |
| rh-sso7-keycloak | Not 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-rhel8 | Not specified Not affected: from 7.6-85 before * | CVE List |
| rhoai/odh-trustyai-service-rhel8 | Not specified | CVE List |
| rhoai/odh-trustyai-service-rhel9 | Not specified | CVE List |
| devspaces/openvsx-rhel9 | Not specified | CVE List |
| devspaces/pluginregistry-rhel9 | Not specified | CVE List |
| candlepin | Not specified | CVE List |
| satellite:el8/candlepin | Not specified | CVE List |
| org.hibernate:hibernate-core (Maven) | from 5.2.8 before 5.3.38 | GitHub Advisory Database |
All scores
| redhat | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| redhat-SADP | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-0603 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2p5w-cvg5-gc5c changed 2026-10-06 | CC-BY-4.0 |
| NVD | CVE-2026-0603 changed 2026-11-26 | Public domain |