# CVE-2019-14900: SQL Injection in Hibernate ORM

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.13%, higher than 82% of CVEs (2026-12-01)
- Published: 2020-07-06T18:35:01.000Z
- Modified: 2026-06-17T02:19:16.913Z
- Also known as: GHSA-8grg-q944-cch5
- Weaknesses: CWE-89
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- Hibernate: Versions before Hibernate ORM 5.3.18; Versions before Hibernate ORM 5.4.18; Versions before Hibernate ORM 5.5.0.Beta1
- org.hibernate:hibernate-core (Maven): before 5.3.18; from 5.4.0 before 5.4.18; from 5.5.0.Alpha1 before 5.5.0.Beta1
- hibernate hibernate_orm: before 5.3.18; from 5.4.0 before 5.4.18
- redhat build_of_quarkus: no versions given
- redhat decision_manager: 7.0
- redhat fuse: before 7.8.0
- redhat jboss_data_grid: 7.0.0
- redhat jboss_enterprise_application_platform: 7.3; 7.4; 7.2
- redhat jboss_middleware_text-only_advisories: no versions given
- redhat openstack: 10; 13; 14
- redhat single_sign-on: no versions given
- quarkus quarkus: up to 1.5.2

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1666499> (issue-tracking, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20220210-0020/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-14900> (advisory)
- <https://github.com/hibernate/hibernate-orm/commit/3f3c1ab50604ab9ba99e25d2016fb85f3ba9dcd4> (web)
- <https://github.com/hibernate/hibernate-orm/commit/646b383f959eff18d58081b1a574f0d777d353da> (web)
- <https://github.com/hibernate/hibernate-orm/commit/e0e22ea256c1906235d6a8e90b79c4ce33d0861f> (web)
- <https://github.com/hibernate/hibernate-orm/commit/eebf01fbf3c2550ee70cdc9c1b02b52e330c8c36> (web)
- <https://github.com/hibernate/hibernate-orm> (package)
- <https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44@%3Cdev.turbine.apache.org%3E> (web)
- <https://security.netapp.com/advisory/ntap-20220210-0020> (web)

## Sources

- CVE List: [CVE-2019-14900](https://www.cve.org/CVERecord?id=CVE-2019-14900), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-8grg-q944-cch5](https://github.com/advisories/GHSA-8grg-q944-cch5), CC-BY-4.0, modified 2024-06-27
- NVD: [CVE-2019-14900](https://nvd.nist.gov/vuln/detail/CVE-2019-14900), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-14900 · Whole record: https://cve.day/CVE-2019-14900.json · Rebuilt by cve.day 2026-11-25T22:57:49.939Z
