CVE-2026-133442
Hibernate ORM is vulnerable to SQL injection
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.
Fixes and workarounds
Fix
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
Source: CNA: ibmWorkaround
* 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.
Source: CNA: ibmFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: ibmAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Hibernate ORM Hibernate |
≥ 7.0.0.Beta2; ≤ 7.2.25.Final (affected, custom) ≥ 7.3.0.CR1; ≤ 7.4.16.Final (affected, custom) ≥ 8.0.0.Alpha1; ≤ 8.0.0.CR1 (affected, custom) |
CNA: ibm |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 8.8 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA: ibm |
| 3.1 / 8.8 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://www.ibm.com/support/pages/node/7297919CNA: ibm · vendor-advisory, patch
- https://www.ibm.com/support/pages/node/7297919[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.