CVE-2025-35036 json
hibernate-validator insecure default Expression Language interpolation
published 2025-06-03 17 mo ago modified 2026-06-17 4 mo ago also GHSA-7v6m-28jr-rg84 , EUVD-2025-16774
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.hibernate.validator:hibernate-validator 6.2.0.CR1, 7.0.0.CR1
- maven org.hibernate:hibernate-validator 6.2.0.CR1, 7.0.0.CR1
- Hibernate Hibernate Validator 6.2.0, 7.0.0
- eap7-wildfly jboss enterprise application platform 7.4 7.4.23-3.GA_redhat_00002.1.el9eap
- eap7-apache-cxf jboss enterprise application platform 7.4 3.5.10-1.redhat_00001.1.el9eap
- eap7-elytron-web jboss enterprise application platform 7.4 1.9.6-1.Final_redhat_00001.1.el9eap
- eap7-hal-console jboss enterprise application platform 7.4 3.3.27-1.Final_redhat_00001.1.el9eap
- eap7-ironjacamar jboss enterprise application platform 7.4 1.5.21-1.Final_redhat_00001.1.el9eap
- eap7-jbossws-cxf jboss enterprise application platform 7.4 5.4.15-1.Final_redhat_00001.1.el9eap
- eap7-apache-cxf-rt jboss enterprise application platform 7.4 3.5.10-1.redhat_00001.1.el9eap
- eap7-glassfish-jsf jboss enterprise application platform 7.4 2.3.14-9.SP10_redhat_00001.1.el9eap
red hat advisories RHSA-2025:10926RHSA-2025:10925RHSA-2025:10924
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-35036 updated cvss 7.3
hibernate-validator: Hibernate Validator Expression Language Injection
-
Red Hat Fuse 7 hibernate-validator Red Hat Integration Camel K 1 hibernate-validator Red Hat Process Automation 7 hibernate-validatoraffected: workaround, no fix planned “Will not fix”
-
Red Hat streams for Apache Kafka hibernate-validatoraffected: workaround, no fix available
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-apache-cxf 3.5.10-1.redhat_00001.1.el7eap, eap7-wildfly 7.4.23-3.GA_redhat_00002.1.el7eap, eap7-apache-cxf-rt 3.5.10-1.redhat_00001.1.el7eap, eap7-artemis-native 1.0.2-5.redhat_00004.1.el7eap, eap7-apache-cxf-tools 3.5.10-1.redhat_00001.1.el7eap, eap7-elytron-web 1.9.6-1.Final_redhat_00001.1.el7eap, +42 morefixed: vendor fix RHSA-2025:10924
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-apache-cxf 3.5.10-1.redhat_00001.1.el8eap, eap7-wildfly 7.4.23-3.GA_redhat_00002.1.el8eap, eap7-apache-cxf-rt 3.5.10-1.redhat_00001.1.el8eap, eap7-artemis-native 1.0.2-5.redhat_00004.1.el8eap, eap7-apache-cxf-tools 3.5.10-1.redhat_00001.1.el8eap, eap7-elytron-web 1.9.6-1.Final_redhat_00001.1.el8eap, +43 morefixed: vendor fix RHSA-2025:10925
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-apache-cxf 3.5.10-1.redhat_00001.1.el9eap, eap7-wildfly 7.4.23-3.GA_redhat_00002.1.el9eap, eap7-apache-cxf-rt 3.5.10-1.redhat_00001.1.el9eap, eap7-artemis-native 1.0.2-5.redhat_00004.1.el9eap, eap7-apache-cxf-tools 3.5.10-1.redhat_00001.1.el9eap, eap7-elytron-web 1.9.6-1.Final_redhat_00001.1.el9eap, +43 morefixed: vendor fix RHSA-2025:10926
-
Red Hat JBoss Enterprise Application Platform 7fixed: vendor fix RHSA-2025:10931
-
Red Hat A-MQ Clients 2 hibernate-validatornot affected: component not present
-
Red Hat Enterprise Linux 8 resteasy, resteasy-javadoc Red Hat Enterprise Linux 9 resteasy, pki-resteasy-core, pki-resteasy-client, pki-resteasy-jackson2-provider, pki-resteasy-servlet-initializer Red Hat JBoss Enterprise Application Platform 8 hibernate-validator Red Hat JBoss Enterprise Application Platform Expansion Pack hibernate-validator Red Hat Single Sign-On 7 hibernate-validatornot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.hibernate.validator:hibernate-validator | <6.2.0.CR1 >=7.0.0.Alpha1, <7.0.0.CR1 |
6.2.0.CR1 7.0.0.CR1 |
| maven | org.hibernate:hibernate-validator | <6.2.0.CR1 >=7.0.0.Alpha1, <7.0.0.CR1 |
6.2.0.CR1 7.0.0.CR1 |
Affected products
- Hibernate Hibernate Validator
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/hibernate/hibernate-validator/commit/05f795bb7cf18856004f40e5042709e550ed0d6e
web, patch
-
github.com
/hibernate/hibernate-validator/commit/254858d9dcc4e7cd775d1b0f47f482218077c5e1
web, patch
-
github.com
/hibernate/hibernate-validator/commit/e076293b0ee1bfa97b6e67d05ad9eee1ad77e893
web, patch
-
github.com
/hibernate/hibernate-validator/commit/d2db40b9e7d22c7a0b44d7665242dfc7b4d14d78
web, patch
-
github.com
/hibernate/hibernate-validator/pull/1138
web, issue-tracking
-
hibernate.org
/validator/documentation/migration-guide/#6-2-0-cr1
web, release-notes
-
in.relation.to
/2021/01/06/hibernate-validator-700-62-final-released/#expression-language
web, release-notes
-
docs.jboss.org
/hibernate/stable/validator/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontext
web, product
-
hibernate.atlassian.net
/browse/HV-1816
web, issue-tracking
-
github.com
/hibernate/hibernate-validator/compare/6.1.7.Final...6.2.0.Final
web, release-notes
-
labs.watchtowr.com
/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428/
not-applicable
-
cve.org
/CVERecord?id=CVE-2025-4428
web, not-applicable
-
cve.org
/CVERecord?id=CVE-2020-5245
web, not-applicable
-
nvd.nist.gov
/vuln/detail/CVE-2025-35036
advisory
-
github.com
/hibernate/hibernate-validator
package
-
labs.watchtowr.com
/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428
web
Sources
- CVE List CVE-2025-35036
- GitHub Advisory GHSA-7v6m-28jr-rg84
- NVD CVE-2025-35036
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.