Description
Hibernate ORM 7.0.0.Beta2 through 7.2.25.Final, 7.3.0.CR1 through 7.4.16.Final, and 8.0.0.Alpha1 through 8.0.0.CR1 is vulnerable to SQL injection. A remote unauthenticated attacker could send specially crafted SQL statements, which could allow the attacker to view, add, modify, or delete information in the back-end database.
Published: 2026-12-03
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

It is strongly recommended to address the vulnerability by upgrading to the latest version. Upgrade to 7.2.26.Final, 7.4.17.Final, or 8.0.0.CR2. For more information see:  https://github.com/hibernate/hibernate-orm/security/advisories/GHSA-v5mr-59hq-7mvm


Vendor Workaround

* Upgrade to a version addressing the vulnerability. * OR avoid passing untrusted values to path parameters of HQL JSON functions. Instead, use either hardcoded values or sanitized values (apply SQL escapes). Be careful about escaping as improper escaping could still leave the application vulnerable. * OR (on Hibernate ORM 7.x) disable HQL JSON functions completely by setting the configuration property `hibernate.query.hql.json_functions_enabled` to false, or leaving it unset (the default is false). Queries leveraging these functions will then simply error out.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 03:45:00 +0000

Type Values Removed Values Added
Description Hibernate ORM 7.0.0.Beta2 through 7.2.25.Final, 7.3.0.CR1 through 7.4.16.Final, and 8.0.0.Alpha1 through 8.0.0.CR1 is vulnerable to SQL injection. A remote unauthenticated attacker could send specially crafted SQL statements, which could allow the attacker to view, add, modify, or delete information in the back-end database.
Title Hibernate ORM is vulnerable to SQL injection
First Time appeared Ibm
Ibm hibernate Orm
Weaknesses CWE-89
CPEs cpe:2.3:a:ibm:hibernate_orm:7.0.0.beta2:*:*:*:*:*:*:*
cpe:2.3:a:ibm:hibernate_orm:7.2.25.final:*:*:*:*:*:*:*
cpe:2.3:a:ibm:hibernate_orm:7.3.0.cr1:*:*:*:*:*:*:*
cpe:2.3:a:ibm:hibernate_orm:7.4.16.final:*:*:*:*:*:*:*
cpe:2.3:a:ibm:hibernate_orm:8.0.0.alpha1:*:*:*:*:*:*:*
cpe:2.3:a:ibm:hibernate_orm:8.0.0.cr1:*:*:*:*:*:*:*
Vendors & Products Ibm
Ibm hibernate Orm
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Ibm Hibernate Orm
cve-icon MITRE

Status: PUBLISHED

Assigner: ibm

Published:

Updated: 2026-12-03T03:27:59.723Z

Reserved: 2026-11-19T20:13:58.154Z

Link: CVE-2026-133442

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses