# CVE-2026-133442: Hibernate ORM is vulnerable to SQL injection

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **CWE:** CWE-89
- **Published:** 2026-12-03T03:27:59.723Z
- **Modified:** 2026-12-03T04:18:08.407Z

> **AI summary (AI-generated, claude-haiku-5-5):** A remote unauthenticated attacker can send crafted SQL statements to Hibernate ORM to view, add, modify, or delete data in the back-end database.

## Who should check

- Anyone running Hibernate ORM \>= 7.0.0.Beta2, \<= 7.2.25.Final; \>= 7.3.0.CR1, \<= 7.4.16.Final; \>= 8.0.0.Alpha1, \<= 8.0.0.CR1

## 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.

## Affected and fixed versions

- Hibernate ORM: \>= 7.0.0.Beta2, \<= 7.2.25.Final; \>= 7.3.0.CR1, \<= 7.4.16.Final; \>= 8.0.0.Alpha1, \<= 8.0.0.CR1 (cvelist)

## Technologies

IBM, Java (AI-matched)

## Mitigation

- 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-133442. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-133442.md
Affected: Hibernate ORM >= 7.0.0.Beta2, <= 7.2.25.Final; >= 7.3.0.CR1, <= 7.4.16.Final; >= 8.0.0.Alpha1, <= 8.0.0.CR1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Hibernate ORM: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-133442 being exploited?

There is no confirmed exploitation: CVE-2026-133442 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-133442?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-133442?

Hibernate ORM \>= 7.0.0.Beta2, \<= 7.2.25.Final; \>= 7.3.0.CR1, \<= 7.4.16.Final; \>= 8.0.0.Alpha1, \<= 8.0.0.CR1.

### Is there a fix for CVE-2026-133442?

No fixed version is listed in the sources yet. 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.

### How do I check if I'm affected by CVE-2026-133442?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://www.ibm.com/support/pages/node/7297919>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-133442>

HTML: <https://flawdb.com/CVE-2026-133442> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-133442>
