CVE-2019-14900
SQL Injection in Hibernate ORM
Also known as GHSA-8grg-q944-cch5
Mitigation
- Upgrade org.hibernate:hibernate-core to one of 5.3.18, 5.4.18, 5.5.0.Beta1 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.hibernate:hibernate-core (< 5.3.18)
- Anyone running Hibernate Versions before Hibernate ORM 5.3.18; Versions before Hibernate ORM 5.4.18; Versions before Hibernate ORM 5.5.0.Beta1
Vulnerability facts
- Affected
- org.hibernate:hibernate-core < 5.3.18
- Fixed in
- 5.3.18, 5.4.18, 5.5.0.Beta1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 2.13% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-89
- Modified
Description
A flaw was found in Hibernate ORM in versions before 5.3.18, 5.4.18 and 5.5.0.Beta1. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SELECT or GROUP BY parts of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.hibernate:hibernate-core | < 5.3.18 | 5.3.18, 5.4.18, 5.5.0.Beta1 | osv |
| Hibernate | Versions before Hibernate ORM 5.3.18; Versions before Hibernate ORM 5.4.18; Versions before Hibernate ORM 5.5.0.Beta1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-14900. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-14900.md Affected: org.hibernate:hibernate-core < 5.3.18 Fixed in: 5.3.18, 5.4.18, 5.5.0.Beta1 Steps: 1. Search this machine and project for org.hibernate:hibernate-core (Maven), Hibernate: 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.
References
Vendor advisories
Patches
- https://github.com/hibernate/hibernate-orm/commit/3f3c1ab50604ab9ba99e25d2016fb85f3ba9dcd4
- https://github.com/hibernate/hibernate-orm/commit/646b383f959eff18d58081b1a574f0d777d353da
- https://github.com/hibernate/hibernate-orm/commit/e0e22ea256c1906235d6a8e90b79c4ce33d0861f
- https://github.com/hibernate/hibernate-orm/commit/eebf01fbf3c2550ee70cdc9c1b02b52e330c8c36
Other
- https://bugzilla.redhat.com/show_bug.cgi?id=1666499
- https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- https://security.netapp.com/advisory/ntap-20220210-0020/
- https://github.com/hibernate/hibernate-orm
- https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44@%3Cdev.turbine.apache.org%3E
- https://security.netapp.com/advisory/ntap-20220210-0020
FAQ
Is CVE-2019-14900 being exploited?
There is no confirmed exploitation: CVE-2019-14900 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.13% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-14900?
Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, login needed.
Which versions are affected by CVE-2019-14900?
org.hibernate:hibernate-core < 5.3.18.
Is there a fix for CVE-2019-14900?
Yes. Fixed in 5.3.18, 5.4.18, 5.5.0.Beta1. Upgrade org.hibernate:hibernate-core to one of 5.3.18, 5.4.18, 5.5.0.Beta1 (or later in the same release line).
How do I check if I'm affected by CVE-2019-14900?
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.