Loading HuntDB...

GHSA-xxgp-pcfc-3vgc

GitHub Security Advisory

Privilege Escalation in Hibernate Validator

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

In Hibernate Validator 5.2.x before 5.2.5.Final, 5.3.x before 5.3.6.Final, and 5.4.x before 5.4.2.Final, it was found that when the security manager's reflective permissions, which allows it to access the private members of the class, are granted to Hibernate Validator, a potential privilege escalation can occur. By allowing the calling code to access those private members without the permission an attacker may be able to validate an invalid instance and access the private member value via ConstraintViolation#getInvalidValue().

Affected Packages

Maven org.hibernate:hibernate-validator
Affected versions: 5.2.0 (fixed in 5.2.5.Final)
Maven org.hibernate:hibernate-validator
Affected versions: 5.3.0 (fixed in 5.3.6.Final)
Maven org.hibernate:hibernate-validator
Affected versions: 5.4.0 (fixed in 5.4.2.Final)

Related CVEs

Key Information

GHSA ID
GHSA-xxgp-pcfc-3vgc
Published
June 15, 2020 7:57 PM
Last Modified
July 20, 2022 2:21 PM
CVSS Score
7.5 /10
Primary Ecosystem
Maven
Primary Package
org.hibernate:hibernate-validator
GitHub Reviewed
✓ Yes

Dataset

Last updated: November 26, 2025 6:30 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.