← Vulnerability feed

Vulnerability record · CVE-2025-35036 · published 3 June 2025

CVE-2025-35036: Redhat hibernate validator code injection vulnerability

Redhat · Hibernate Validator

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.

6.9 CVSS 4.0 Medium EPSS 0.78% · top 43.3% CWE-94 · Code injection
6.9CVSS 4.0 base score
0.78%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
13References
17 Jun 2026Last modified by NVD

Description

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.

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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-35036 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.0CVE-2017-7536Redhat hibernate validator vulnerabilityIn 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…EPSS 0.48%6.1CVE-2019-10219Redhat hibernate validator cross-site scripting vulnerabilityA vulnerability was found in Hibernate-Validator. The SafeHtml validator annotation fails to properly sanitize payloads consisting of potentially mal…EPSS 2.2%5.3CVE-2020-10693Redhat hibernate validator improper input validation vulnerabilityA flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables invalid EL expressions to be evalua…EPSS 2.4%5.0CVE-2014-3558Redhat hibernate validator permissions and access controls vulnerabilityReflectionHelper (org.hibernate.validator.util.ReflectionHelper) in Hibernate Validator 4.1.0 before 4.2.1, 4.3.x before 4.3.2, and 5.x before 5.1.2 …EPSS 2.9%6.5CVE-2025-42884Sap netweaver enterprise portal vulnerabilitySAP NetWeaver Enterprise Portal allows an unauthenticated attacker to inject JNDI environment properties or pass a URL used during JNDI lookup operat…KEVEPSS 0.28%9.8CVE-2026-90817Vanderbilt redcap code injection vulnerabilityAn unauthenticated Remote Code Execution vulnerability was found in the survey passthrough routing and Data Import processing logic, in which a malic…KEVEPSS 25%8.8CVE-2026-40217Litellm code injection vulnerabilityLiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.KEVEPSS 62%9.4CVE-2026-115731Puppet code injection vulnerabilityDeserialization of untrusted data in the report-processing code of Puppet, as used by Puppet Server, in the affected releases, allows a client that h…KEVEPSS 0.69%

Source: NIST National Vulnerability Database (record CVE-2025-35036), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.