CVE-2017-7536 · redhat
CVE-2017-7536
In Hibernate Validator 5.2.x before 5.2.5 final, 5.3.x, and 5.4.x, 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().
Published 2018-01-10, last changed 2026-06-17. Weakness: CWE-592, CWE-470.
How to fix
Upgrade to a fixed version: org.hibernate:hibernate-validator 5.2.5.Final, 5.3.6.Final, 5.4.2.Final (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in hibernate/hibernate-validator by 0886e89900, 0778a5c98b, 9a8ee4954d. Functions changed by the fix: HibernateValidatorPermission, getAccessible, run. Regression tests: tck-runner/src/test/resources/test.policy. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-01-10 | Published |
| 2020-06-15 | Package advisory GHSA-xxgp-pcfc-3vgc |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.48% |
| 2026-12-05 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-xxgp-pcfc-3vgc | org.hibernate:hibernate-validator (Maven) | 5.2.5.Final |
| GHSA-xxgp-pcfc-3vgc | org.hibernate:hibernate-validator (Maven) | 5.3.6.Final |
| GHSA-xxgp-pcfc-3vgc | org.hibernate:hibernate-validator (Maven) | 5.4.2.Final |
Also known as: GHSA-xxgp-pcfc-3vgc
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-35036 | 2025-06-03 | 6.9 | hibernate-validator insecure default Expression Language interpolation |
| CVE-2023-1932 | 2024-11-07 | 6.1 | Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss |
| CVE-2020-10693 | 2020-05-06 | 5.3 | same package: org.hibernate:hibernate-validator (Maven) |
| CVE-2019-10219 | 2019-11-08 | 6.1 | same package: org.hibernate:hibernate-validator (Maven) |
| CVE-2014-3558 | 2014-09-30 | 5 | same package: org.hibernate:hibernate-validator (Maven) |
| CVE-2026-96740 | 2026-09-28 | 6.5 | Streamshub/console: console-operator: streams for apache kafka console: unfiltered kafka client properties → sa-token exfiltration via config.providers |
| CVE-2026-101292 | 2026-09-28 | 8.2 | Artemis-core-client: unsafe reflection in apache activemq artemis federation message deserialization |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-7536, or call /api/v1/vulnerabilities/CVE-2017-7536. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.