CVE-2020-11002
Java vulnerability analysis and mitigation

Overview

A server-side template injection vulnerability was identified in dropwizard-validation before versions 2.0.3 and 1.3.21 (CVE-2020-11002). The vulnerability was discovered in the self-validating feature, which enabled attackers to inject arbitrary Java EL expressions, leading to Remote Code Execution (RCE). This vulnerability was a follow-up to a previous incomplete fix (CVE-2020-5245) implemented in versions 1.3.19 and 2.0.2 (GitHub Advisory).

Technical details

The vulnerability exists in the self-validating (@SelfValidating) feature of dropwizard-validation, where message interpolation in ConstraintViolations could be exploited through template injection. The issue allows attackers to inject and execute arbitrary Java Expression Language (EL) expressions when using the self-validating feature (@SelfValidating, @SelfValidation). The vulnerability has a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows attackers to execute arbitrary code on the host system with the privileges of the Dropwizard service account. This remote code execution capability presents a significant security risk as it could lead to complete system compromise within the context of the application's permissions (GitHub Advisory).

Exploitability

The vulnerability can be exploited by injecting malicious Java EL expressions through the self-validating feature. The attack vector requires the application to use the @SelfValidating annotation, making it a targeted exploit against applications specifically using this feature (GitHub Advisory).

Mitigation and workarounds

The issue has been fixed in dropwizard-validation versions 1.3.21 and 2.0.3 or later. The fix includes disabling EL expression evaluation by default and introducing new addViolation methods that support message parameters instead of EL expressions. For users unable to upgrade, a workaround involves properly sanitizing any message added to the ViolationCollector in methods annotated with @SelfValidation. The fix also includes the option to explicitly allow expression interpolation through SelfValidating#escapeExpressions() (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • jenkins
NoYesAug 04, 2026
CVE-2026-48048HIGH7.5
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-livetable-ui
NoYesAug 10, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-javadoc
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • javapackages-tools:201801::maven-wagon-http-lightweight
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management