Vulnerabilities in pkg:maven/com.ritense.valtimo/core
PACKAGECVE-2025-58059 is a CRITICAL (CVSS 9.1) remote code execution vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Core libraries in the Maven ecosystem. The issue involves valtimo scripting engine can be used to gain access to sensitive data or resources. Remediation is available by upgrading affected packages to version 12.16.0.RELEASE, 13.1.2.RELEASE.
pkg:maven/com.ritense.valtimo/core
Vulnerability advisories affecting package pkg:maven/com.ritense.valtimo/core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-w48j-pp7j-fj55 | CVE-2025-58059 | CRITICAL | Valtimo scripting engine can be used to gain access to sensitive data or resources |
CVE-2025-58059 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-58059
To remediate this vulnerability, upgrade all affected Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.ritense.valtimo</groupId>
<artifactId>core</artifactId>
<version>12.16.0.RELEASE</version>
</dependency>
<dependency>
<groupId>com.ritense.valtimo</groupId>
<artifactId>core</artifactId>
<version>13.1.2.RELEASE</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.ritense.valtimo
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-58059, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.ritense.valtimo
Analyze the terminal output to locate any version of Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.16.0.RELEASE), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.ritense.valtimo command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-58059 Affected Core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.ritense.valtimo:core
|
Maven |
< 12.16.0.RELEASE
|
12.16.0.RELEASE
|
|
com.ritense.valtimo:core
|
Maven |
≥ 13.0.0.RELEASE
< 13.1.2.RELEASE
|
13.1.2.RELEASE
|
References
Frequently Asked Questions
What is CVE-2025-58059?
Which Core versions are affected?
What version fixes CVE-2025-58059?
Is core affected?
What is the CVSS score of CVE-2025-58059?
What CWE is associated with CVE-2025-58059?
How can I check Maven dependencies for CVE-2025-58059?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w48j-pp7j-fj55",
"modified" : "2025-08-28T18:52:30Z",
"published" : "2025-08-28T16:46:10Z",
"aliases" : [ "CVE-2025-58059" ],
"summary" : "Valtimo scripting engine can be used to gain access to sensitive data or resources",
"details" : "### Impact\nAny admin that can create or modify and execute process-definitions could gain access to sensitive data or resources.\n\nThis includes but is not limited to:\n- Running executables on the application host\n- Inspecting and extracting data from the host environment or application properties\n- Spring beans (application context, database pooling)\n\n### Attack requirements\nThe following conditions have to be met in order to perform this attack:\n- The user must be logged in\n- The user must have the admin role (ROLE_ADMIN), which is required to change process definitions\n- The user must have some knowledge about running scripts via a the Camunda/Operator engine\n\n### Patches\nVersion 12.16.0 and 13.1.2 have been patched. It is strongly advised to upgrade.\n\n### Workarounds\nIf no scripting is needed in any of the processes, it could be possible to disable it altogether via the `ProcessEngineConfiguration`:\n```\n@Component\nclass NoScriptEnginePlugin : ProcessEnginePlugin {\n override fun preInit(processEngineConfiguration: ProcessEngineConfigurationImpl) {}\n\n override fun postInit(processEngineConfiguration: ProcessEngineConfigurationImpl) {\n processEngineConfiguration.scriptEngineResolver = null\n }\n\n override fun postProcessEngineBuild(processEngine: ProcessEngine) {}\n}\n```\nWarning: this workaround could lead to unexpected side-effects. Please test thoroughly.\n\n### References\n- Valtimo 12 and lower: [Camunda Scripting](https://docs.camunda.org/manual/latest/user-guide/process-engine/scripting/#custom-scriptengineresolver)\n- Valtimo 13 and higher: [Operaton Scripting](https://docs.operaton.org/docs/documentation/user-guide/process-engine/scripting)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.ritense.valtimo:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "12.16.0.RELEASE"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.ritense.valtimo:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "13.0.0.RELEASE"
}, {
"fixed" : "13.1.2.RELEASE"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/valtimo-platform/valtimo-backend-libraries/security/advisories/GHSA-w48j-pp7j-fj55"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58059"
}, {
"type" : "WEB",
"url" : "https://github.com/valtimo-platform/valtimo-backend-libraries/commit/45eb60b0b2df5964fb9917295d0dceb1fff8dd85"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/valtimo-platform/valtimo-backend-libraries"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-28T16:46:10Z",
"nvd_published_at" : "2025-08-28T18:15:33Z"
}
}