CVE-2026-133442

Hibernate ORM is vulnerable to SQL injection

Published Dec 3, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

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 available
History
Type Values Removed Values Added
First Time appeared Hibernate
Hibernate hibernate Orm
Vendors & Products Hibernate
Hibernate hibernate Orm
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
ibm
Published
Updated
Dec 3, 2026, 4:27 AM
Reserved
Nov 19, 2026, 9:13 PM
Status
Received
Published
Dec 3, 2026, 4:18 AM
Modified
Dec 3, 2026, 4:18 AM