CVE-2022-25894
Description
All versions of the package com.bstek.uflo:uflo-core are vulnerable to Remote Code Execution (RCE) in the ExpressionContextImpl class via jexl.createExpression(expression).evaluate(context); functionality, due to improper user input validation.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
All versions of uflo-core are vulnerable to remote code execution via the JEXL expression evaluator in ExpressionContextImpl due to missing input validation.
Background
CVE-2022-25894 affects all versions of the com.bstek.uflo:uflo-core package. The vulnerability resides in the ExpressionContextImpl class, specifically in the method that calls jexl.createExpression(expression).evaluate(context). This code path passes user-controllable input directly to the Apache JEXL (Java Expression Language) evaluator without any sanitization or validation [1][3].
Exploitation
An attacker who can influence the expression parameter passed to the vulnerable method can inject arbitrary JEXL expressions. Because JEXL supports calling Java methods and accessing the runtime environment, a crafted expression can execute system commands or load arbitrary classes. The attack does not require authentication if the vulnerable endpoint is exposed to untrusted users [2][3].
Impact
Successful exploitation allows arbitrary remote code execution (RCE) in the context of the application server. The attacker can execute operating system commands, read or modify sensitive data, and potentially move laterally within the network. The full impact depends on the privileges of the running process [3].
Mitigation
As of the publication date, there is no patched version of the uflo-core package available [3]. Users are advised to restrict access to any interface that may pass user input to the JEXL expression evaluator, implement strict input validation (e.g., allowlisting of allowed expressions), or consider migrating to an alternative workflow engine if the component is critical [1][3].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.bstek.uflo:uflo-coreMaven | <= 2.1.5 | — |
Affected products
3- com.bstek.uflo/uflo-coredescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/advisories/GHSA-8m9f-c5p9-wqchghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25894ghsaADVISORY
- fmyyy1.github.io/2022/10/23/uflo2rceghsaWEB
- github.com/youseries/uflo/blob/b3e198bc6523e5a6ba69edd84ba10e05a3b78726/uflo-core/src/main/java/com/bstek/uflo/expr/impl/ExpressionContextImpl.javaghsaWEB
- security.snyk.io/vuln/SNYK-JAVA-COMBSTEKUFLO-3091112ghsaWEB
- fmyyy1.github.io/2022/10/23/uflo2rce/mitre
- github.com/youseries/uflo/blob/b3e198bc6523e5a6ba69edd84ba10e05a3b78726/uflo-core/src/main/java/com/bstek/uflo/expr/impl/ExpressionContextImpl.java%23L126mitre
News mentions
0No linked articles in our index yet.