Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2017-7536

HIGH 7.0EPSS 34%

Privilege Escalation in Hibernate Validator

Also known as GHSA-xxgp-pcfc-3vgc

Mitigation

  • Upgrade org.hibernate:hibernate-validator to one of 5.2.5.Final, 5.3.6.Final, 5.4.2.Final (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.hibernate:hibernate-validator (>= 5.2.0, < 5.2.5.Final)
  • Anyone running Red Hat, Inc. hibernate-validator 5.2.x before 5.2.5 final; 5.3.x; 5.4.x

Vulnerability facts

Affected
org.hibernate:hibernate-validator >= 5.2.0, < 5.2.5.Final
Fixed in
5.2.5.Final, 5.3.6.Final, 5.4.2.Final
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.48% chance of exploitation in 30 days (percentile 34, 2026-11-26)
CWE
CWE-592
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.hibernate:hibernate-validator>= 5.2.0, < 5.2.5.Final5.2.5.Final, 5.3.6.Final, 5.4.2.Finalosv
Red Hat, Inc. hibernate-validator5.2.x before 5.2.5 final; 5.3.x; 5.4.x—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-2017-7536. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-7536.md
Affected: org.hibernate:hibernate-validator >= 5.2.0, < 5.2.5.Final
Fixed in: 5.2.5.Final, 5.3.6.Final, 5.4.2.Final

Steps:
1. Search this machine and project for org.hibernate:hibernate-validator (Maven), Red Hat, Inc. hibernate-validator: 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

FAQ

Is CVE-2017-7536 being exploited?

There is no confirmed exploitation: CVE-2017-7536 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2017-7536?

High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2017-7536?

org.hibernate:hibernate-validator >= 5.2.0, < 5.2.5.Final.

Is there a fix for CVE-2017-7536?

Yes. Fixed in 5.2.5.Final, 5.3.6.Final, 5.4.2.Final. Upgrade org.hibernate:hibernate-validator to one of 5.2.5.Final, 5.3.6.Final, 5.4.2.Final (or later in the same release line).

How do I check if I'm affected by CVE-2017-7536?

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.

Sponsors