Skip to content
Fencer Vulns
high 7.3

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-validator
    affected: workaround, no fix planned “Will not fix”
  • Red Hat streams for Apache Kafka hibernate-validator
    affected: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2025:10926
  • Red Hat JBoss Enterprise Application Platform 7
    fixed: vendor fix RHSA-2025:10931
  • Red Hat A-MQ Clients 2 hibernate-validator
    not 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-validator
    not 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

Sources

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.