GitHub Advisoryadvisory · Maven
GHSA-w48j-pp7j-fj55 Valtimo scripting engine can be used to gain access to sensitive data or resources
CRITICAL
Official page ↗
- Aliases
- CVE-2025-58059
- Ecosystem
- Maven
- Packages
- com.ritense.valtimo:core
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-200, CWE-78
- Reviewed
- 2025-08-28
Affected packages
• Maven com.ritense.valtimo:core: < 12.16.0.RELEASE → fixed in 12.16.0.RELEASE
• Maven com.ritense.valtimo:core: >= 13.0.0.RELEASE, < 13.1.2.RELEASE → fixed in 13.1.2.RELEASE
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
Related
Alias · CVE (1)
- CVE-2025-58059 Valtimo is a platform for Business Process Automation. vulnerability
References
- https://github.com/valtimo-platform/valtimo-backend-libraries/security/advisories/GHSA-w48j-pp7j-fj55 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-58059 advisory
- https://github.com/valtimo-platform/valtimo-backend-libraries/commit/45eb60b0b2df5964fb9917295d0dceb1fff8dd85 web
- https://github.com/valtimo-platform/valtimo-backend-libraries package