ORG.HIBERNATE.VALIDATOR:HIBERNATE-VALIDATOR · CVE-2026-93879 · Package
FIX → 9.1.5.Final · 8.0.6.Final · 7.0.6.Final · 6.2.6.Final +1 ✓ verified
Hibernate Validator's HibernateConstraintValidatorContext#addMessageParameter (and the built-in @UniqueElements with a custom message) inserts the value unescaped before EL interpolation. User-controlled values containing EL are evaluated. NVD/IBM rate it as denial of service (CVSS 7.5); the maintainer advisory also says it can lead to information disclosure, and to remote code execution when the BEAN_METHODS EL level is enabled. Workaround from the maintainer: use addExpressionVariable instead of addMessageParameter for user-controlled values.
first public Nov 8, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Java apps using Hibernate Validator (Spring Boot, Quarkus, Jakarta EE) are exposed only if a custom validator calls addMessageParameter with user-controlled data, or uses @UniqueElements with a custom message referencing {duplicates}, AND EL interpolation is on for that message AND an EL implementation is on the classpath. Apps that only use standard built-in constraints with default messages, or that use addExpressionVariable instead, can skip it. IBM lists WebSphere Application Server Liberty (bundled Hibernate Validator 9.1.3.Final) as affected.
Not affected if default-config, no-custom-validators, no-el-implementation
Who cares custom-validator, hibernate-validator, jakarta-bean-validation, java, maven, websphere-liberty
Hibernate Validator could allow a remote attacker to cause a denial of service due to uncontrolled resource consumption resulting from improper escaping of user-controlled data in Expression Language (EL) expressions.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
. Posts quoted belong to their authors.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
Upgrade to 9.1.5.Final · 8.0.6.Final · 7.0.6.Final · 6.2.6.Final +1
6.2.6.Final, 7.0.6.Final, 8.0.6.Final, 9.0.2.Final or 9.1.5.Final (or later) on your release line