CVE-2025-58059
Valtimo scripting engine can be used to gain access to sensitive data or resources
Description
Impact
Any admin that can create or modify and execute process-definitions could gain access to sensitive data or resources.
This includes but is not limited to:
- Running executables on the application host
- Inspecting and extracting data from the host environment or application properties
- Spring beans (application context, database pooling)
Attack requirements
The following conditions have to be met in order to perform this attack:
- The user must be logged in
- The user must have the admin role (ROLE_ADMIN), which is required to change process definitions
- The user must have some knowledge about running scripts via a the Camunda/Operator engine
Patches
Version 12.16.0 and 13.1.2 have been patched. It is strongly advised to upgrade.
Workarounds
If no scripting is needed in any of the processes, it could be possible to disable it altogether via the ProcessEngineConfiguration:
@Component
class NoScriptEnginePlugin : ProcessEnginePlugin {
override fun preInit(processEngineConfiguration: ProcessEngineConfigurationImpl) {}
override fun postInit(processEngineConfiguration: ProcessEngineConfigurationImpl) {
processEngineConfiguration.scriptEngineResolver = null
}
override fun postProcessEngineBuild(processEngine: ProcessEngine) {}
}
Warning: this workaround could lead to unexpected side-effects. Please test thoroughly.
References
- Valtimo 12 and lower: Camunda Scripting
- Valtimo 13 and higher: Operaton Scripting
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.ritense.valtimo » core | < 12.16.0.RELEASE>= 13.0.0.RELEASE, < 13.1.2.RELEASE | 12.16.0.RELEASE, 13.1.2.RELEASE |
Blast radius
15% of the dependent artifacts (13) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,516 |
| 2 hops | 614 |
| 3 hops | 320 |
Most used dependents
- com.ritense.valtimo » process-document39 usages
- com.ritense.valtimo » plugin-valtimo36 usages
- com.ritense.valtimo » plugin32 usages
- com.ritense.valtimo » zaken-api14 usages
- com.ritense.valtimo » zgw12 usages
- com.ritense.valtimo » documenten-api10 usages
- com.ritense.valtimo » objecttypen-api10 usages
- com.ritense.valtimo » form9 usages
- com.ritense.valtimo » openzaak9 usages
- com.ritense.valtimo » objecten-api9 usages
- com.ritense.valtimo » process-link9 usages
- com.ritense.valtimo » catalogi-api7 usages
- com.ritense.valtimo » object-management7 usages
- com.ritense.valtimo » notificaties-api7 usages
- com.ritense.valtimo » search7 usages
Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-58059 | nvd.nist.gov |
| Package | valtimo-platform/valtimo-backend-libraries | github.com |
| Web | valtimo-platform/valtimo-backend-libraries advisory GHSA-w48j-pp7j-fj55 | github.com |
| Web | valtimo-platform/valtimo-backend-libraries commit 45eb60b | github.com |
