Advisory record · GHSA-7v6m-28jr-rg84

Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language

CVSS 6.9 MediumEPSS 0.0078 · 56th percentile

Published by the GitHub Advisory Database at 3 Jun 2025, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.hibernate.validator:hibernate-validatorMaven<6.2.0.CR1 || >=7.0.0.Alpha1, <7.0.0.CR16.2.0.CR1, 7.0.0.CR1
org.hibernate:hibernate-validatorMaven<6.2.0.CR1 || >=7.0.0.Alpha1, <7.0.0.CR16.2.0.CR1, 7.0.0.CR1
Identifiers
GHSA-7v6m-28jr-rg84 · CVE-2025-35036
Weakness (CWE)
CWE-94
Published
3 Jun 2025
Updated
12 Sept 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Hibernate Validator versions before 6.2.0.CR1 and from 7.0.0.Alpha1 up to 7.0.0.CR1 (packages org.hibernate.validator:hibernate-validator and org.hibernate:hibernate-validator) may interpolate user-supplied input in constraint violation messages using Expression Language. Depending on how the library is used, an attacker who can supply such input could access sensitive information or execute arbitrary Java code. Upgrade to 6.2.0.CR1 or 7.0.0.CR1 or later, and avoid placing user-supplied input in constraint violation messages.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.9 Medium 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 CNA (cisa-cg)
  • CISA KEV Not listed.
  • EPSS 0.0078, the 56th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:10 UTC First seen by agentprime
  2. 31 Oct 2026, 15:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.