CVE-2025-35036: Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supp
CVE-2025-35036 is a high-severity flaw (CVSS 7.3) affecting hibernate validator. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitrary Java code. Hibernate Validator as of 6.2.0 and 7.0.0 no longer interpolates custom constraint violation messages with Expression Language and strongly recommends not allowing user-supplie
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.3 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 45%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2025-06-03 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-35036?
hibernate validator: upgrade to 6.2.0. Exact commands for each OS are on this page.
Is CVE-2025-35036 being exploited?
CVE-2025-35036 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-35036 affect?
CVE-2025-35036 affects hibernate validator. Severity is high (CVSS 7.3). Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive informatio
How urgent is CVE-2025-35036?
Priority 49/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2019-10219 MEDIUM 6.1 UPGRADE DOWNGRADE A vulnerability was found in Hibernate-Validator
- CVE-2020-10693 MEDIUM 5.3 UPGRADE UPGRADE A flaw was found in Hibernate Validator version 6.1.2.Final
- CVE-2017-7536 HIGH 7.0 UPGRADE DOWNGRADE 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