NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-58059: Valtimo scripting engine can be used to gain access to sensitive data or resources

criticalCVSS 3.1 9.1GHSA-w48j-pp7j-fj55

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…

Published Aug 28, 2025

Affected packages

com.ritense.valtimo:core

Ecosystem
Maven
Affected
< 12.16.0.RELEASE
Fixed in
12.16.0.RELEASE
Check
mvn dependency:tree -Dincludes=com.ritense.valtimo:core

com.ritense.valtimo:core

Ecosystem
Maven
Affected
>= 13.0.0.RELEASE, < 13.1.2.RELEASE
Fixed in
13.1.2.RELEASE
Check
mvn dependency:tree -Dincludes=com.ritense.valtimo:core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology