CVE-2025-35036
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-supplied input in constraint violation messages. CVE-2020-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data.
EPSS 1.69% · 82.6th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Maven | org.hibernate:hibernate-validator | 0, 0, 7.0.0.Alpha1 |
| redhat | hibernate_validator | 0, 0 |
| Maven | org.hibernate.validator:hibernate-validator | 0, 0, 7.0.0.Alpha1 |
| Hibernate | Hibernate Validator | 0, 0, 7.0.0 |
Timeline
- Jan 19, 1970 Fix PR Merged
- Jun 3, 2025 CVE Published
- Jun 3, 2025 Coalition ESS Score
- Jun 3, 2025 PoC Published
- Jun 4, 2025 EPSS Score
- Jun 4, 2025 Coalition ESS Score
- Jun 15, 2025 EPSS Score
- Jun 25, 2025 EPSS Score
- Jul 6, 2025 EPSS Score
- Jul 17, 2025 EPSS Score
- Jul 27, 2025 EPSS Score
- Aug 7, 2025 EPSS Score
References
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- url url
- https://nvd.nist.gov/vuln/detail/CVE-2025-35036 advisory
- https://github.com/hibernate/hibernate-validator package
- https://labs.watchtowr.com/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428 url
- https://www.oracle.com/security-alerts/cpuapr2026.html advisory