CVE-2025-56769
Java vulnerability analysis and mitigation

Overview

An issue was discovered in chinabugotech hutool before 5.8.4 allowing attackers to execute arbitrary expressions that lead to arbitrary method invocation and potentially remote code execution (RCE) via the QLExpressEngine class. The vulnerability was discovered and disclosed on July 22, 2025 (GitHub Issue).

Technical details

The vulnerability exists in the QLExpressEngine component where parameters are not verified before untrusted data is passed into evaluation. The allowClassSet parameter, intended to serve as a class whitelist, is never passed to engine.execute(), allowing execution of classes outside the default blacklist. This implementation flaw means attackers can inject calls to dangerous APIs such as JNDI lookups or Runtime.exec. The vulnerability has been assigned a CVSS v3.1 Base Score of 6.5 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) (NVD).

Impact

The vulnerability allows attackers to execute arbitrary code remotely through crafted expressions. This could lead to complete system compromise, as demonstrated by proof-of-concept code that successfully executes JNDI lookups to arbitrary URLs (GitHub Issue).

Mitigation and workarounds

The recommended fix includes enhancing the security posture of QLExpressEngine by enforcing a stricter blacklist for method invocation, enabling prevention of dangerous calls, and explicitly blacklisting known risky methods. Additionally, QLExpress should be configured to use an explicit whitelist of permitted classes and methods through QLExpressRunStrategy (GitHub Issue).

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-2025-48392HIGH7.5
  • JavaJava
  • org.apache.iotdb:iotdb-core
NoYesSep 24, 2025
CVE-2025-43816MEDIUM6.9
  • JavaJava
  • com.liferay:com.liferay.portal.vulcan.impl
NoYesSep 25, 2025
CVE-2025-56769MEDIUM6.5
  • JavaJava
  • cn.hutool:hutool-extra
NoYesSep 25, 2025
CVE-2025-48459MEDIUM5.3
  • JavaJava
  • org.apache.iotdb:iotdb-confignode
NoYesSep 24, 2025
CVE-2025-58457MEDIUM4.3
  • JavaJava
  • cpe:2.3:a:apache:zookeeper
NoYesSep 24, 2025

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