CVE-2025-58059
JSON

9.1critical

Valtimo scripting engine can be used to gain access to sensitive data or resources

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-w48j-pp7j-fj55

Description

Valtimo is a platform for Business Process Automation. In versions before 12.16.0.RELEASE, and from 13.0.0.RELEASE to before 13.1.2.RELEASE, 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). The following conditions have to be met in order to perform this attack: the user must be logged in, have the admin role, and must have some knowledge about running scripts via a the Camunda/Operator engine. Version 12.16.0 and 13.1.2 have been patched. It is strongly advised to upgrade. If no scripting is needed in any of the processes, it could be possible to disable it altogether via the ProcessEngineConfiguration. However, this workaround could lead to unexpected side-effects.

Affected

Product or packageVersionsReported by
valtimo-platform valtimo-backend-libraries< 12.16.0.RELEASE, >= 13.0.0.RELEASE, < 13.1.2.RELEASECVE List
com.ritense.valtimo:core (Maven)before 12.16.0.RELEASE, from 13.0.0.RELEASE before 13.1.2.RELEASEGitHub Advisory Database

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-78CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Valtimo is a platform for Business Process Automation. In versions before 12.16.0.RELEASE, and from 13.0.0.RELEASE to before 13.1.2.RELEASE, 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). The following conditions have to be met in order to perform this attack: the user must be logged in, have the admin role, and must have some knowledge about running scripts via a the Camunda/Operator engine. Version 12.16.0 and 13.1.2 have been patched. It is strongly advised to upgrade. If no scripting is needed in any of the processes, it could be possible to disable it altogether via the ProcessEngineConfiguration. However, this workaround could lead to unexpected side-effects.

GitHub Advisory Database
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
NVD (es)

Valtimo es una plataforma para la Automatización de Procesos de Negocio. En versiones anteriores a la 12.16.0.RELEASE, y desde la 13.0.0.RELEASE hasta la 13.1.2.RELEASE, cualquier administrador que pueda crear o modificar y ejecutar definiciones de procesos podría obtener acceso a datos o recursos sensibles. Esto incluye, entre otros: ejecutar archivos ejecutables en el host de la aplicación, inspeccionar y extraer datos del entorno del host o de las propiedades de la aplicación, beans de Spring (contexto de la aplicación, pooling de la base de datos). Las siguientes condiciones deben cumplirse para realizar este ataque: el usuario debe haber iniciado sesión, tener el rol de administrador, y debe tener algún conocimiento sobre la ejecución de scripts a través del motor Camunda/Operator. La versión 12.16.0 y la 13.1.2 han sido parcheadas. Se recomienda encarecidamente actualizar. Si no se necesita scripting en ninguno de los procesos, podría ser posible deshabilitarlo por completo a través de la ProcessEngineConfiguration. Sin embargo, esta solución alternativa podría provocar efectos secundarios inesperados.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-58059 changed 2025-08-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-w48j-pp7j-fj55 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-58059 changed 2026-06-17Public domain