Home / Hibernate / Hibernate Validator / CVE-2025-35036
CVE-2025-35036: is it exploited, and which versions of Hibernate Validator are affected and fixed?
CVE-2025-35036 is a code injection (remote code execution) vulnerability in Hibernate Validator. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: org.hibernate.validator:hibernate-validator before 6.2.0.CR1, org.hibernate.validator:hibernate-validator from 7.0.0.Alpha1 before 7.0.0.CR1, org.hibernate:hibernate-validator before 6.2.0.CR1 and 1 more (GitHub advisory GHSA-7v6m-28jr-rg84). Fixed in 6.2.0.CR1 and 7.0.0.CR1 (GitHub advisory GHSA-7v6m-28jr-rg84). Severity: Medium (6.9, CVSS 3.1, from cisa-cg).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-35036?
hibernate-validator insecure default Expression Language interpolation
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.
From the CVE record by cisa-cg, last updated June 5, 2025, 18:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Hibernate | Hibernate Validator | before 6.2.0 before 7.0.0 | 6.2.0, 7.0.0 |
As the CVE record by cisa-cg states it, last updated June 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.hibernate.validator:hibernate-validator | < 6.2.0.CR1 | 6.2.0.CR1 | GHSA-7v6m-28jr-rg84 |
| Maven | org.hibernate.validator:hibernate-validator | >= 7.0.0.Alpha1, < 7.0.0.CR1 | 7.0.0.CR1 | GHSA-7v6m-28jr-rg84 |
| Maven | org.hibernate:hibernate-validator | < 6.2.0.CR1 | 6.2.0.CR1 | GHSA-7v6m-28jr-rg84 |
| Maven | org.hibernate:hibernate-validator | >= 7.0.0.Alpha1, < 7.0.0.CR1 | 7.0.0.CR1 | GHSA-7v6m-28jr-rg84 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 12, 2025. Summary: Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | hibernate validator | before 6.2.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:14 UTC.
How severe is CVE-2025-35036?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | cisa-cg |
| Medium 6.9 | CVSS 4.0 | 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 | cisa-cg |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-35036 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 5, 2025)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- April 15, 2025
- Published
- June 3, 2025, 19:27 UTC
- CVE record updated
- June 5, 2025, 18:41 UTC by cisa-cg
- NVD
- Analyzed, last modified June 17, 2026, 09:14 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Hibernate Validator?
- May 6, 2020CVE-2020-10693 hibernate-validator: improper input validation
- Nov 8, 2019CVE-2019-10219 hibernate-validator: cross-site scripting (XSS)
Every CVE in Hibernate Validator
Questions about CVE-2025-35036
Is CVE-2025-35036 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Hibernate Validator are affected by CVE-2025-35036?
org.hibernate.validator:hibernate-validator before 6.2.0.CR1, org.hibernate.validator:hibernate-validator from 7.0.0.Alpha1 before 7.0.0.CR1, org.hibernate:hibernate-validator before 6.2.0.CR1 and org.hibernate:hibernate-validator from 7.0.0.Alpha1 before 7.0.0.CR1, per the GitHub advisory GHSA-7v6m-28jr-rg84. The tables above give every range the sources list.
Which version fixes CVE-2025-35036?
6.2.0.CR1 and 7.0.0.CR1, per the GitHub advisory GHSA-7v6m-28jr-rg84. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-35036?
Medium (6.9, CVSS 3.1, from cisa-cg). The severity table above shows each score with its source.
Where is the official record of CVE-2025-35036?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.