9.1critical
Valtimo: SpEL injection via StandardEvaluationContext allows Remote Code Execution by admin users
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.82% (higher than 54% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j7j9-5253-f7vh
Description
Valtimo is an open-source business process automation platform. com.ritense.valtimo:document from 12.0.0 to before 12.32.0, com.ritense.valtimo:case from 13.0.0 to before 13.23.0, and com.ritense.valtimo:contract from 13.4.0 to before 13.23.0 evaluate Spring Expression Language (SpEL) expressions from user-supplied input using StandardEvaluationContext, which provides unrestricted access to Java types and methods. An authenticated user with the ADMIN role can achieve Remote Code Execution and credential exfiltration. This vulnerability is fixed in com.ritense.valtimo:document 2.32.0, com.ritense.valtimo:case 13.23.0, and com.ritense.valtimo:contract 13.23.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| valtimo-platform valtimo | < 13.23.0 | CVE List |
| com.ritense.valtimo case | >= 13.0.0, < 13.23.0 | CVE List |
| com.ritense.valtimo contract | >= 13.4.0, < 13.23.0 | CVE List |
| com.ritense.valtimo document | >= 12.0.0, < 12.32.0 | CVE List |
| com.ritense.valtimo:document (Maven) | from 12.0.0 before 12.32.0 | GitHub Advisory Database |
| com.ritense.valtimo:case (Maven) | from 13.0.0 before 13.23.0 | GitHub Advisory Database |
| com.ritense.valtimo:contract (Maven) | from 13.4.0 before 13.23.0 | GitHub Advisory Database |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Valtimo is an open-source business process automation platform. com.ritense.valtimo:document from 12.0.0 to before 12.32.0, com.ritense.valtimo:case from 13.0.0 to before 13.23.0, and com.ritense.valtimo:contract from 13.4.0 to before 13.23.0 evaluate Spring Expression Language (SpEL) expressions from user-supplied input using StandardEvaluationContext, which provides unrestricted access to Java types and methods. An authenticated user with the ADMIN role can achieve Remote Code Execution and credential exfiltration. This vulnerability is fixed in com.ritense.valtimo:document 2.32.0, com.ritense.valtimo:case 13.23.0, and com.ritense.valtimo:contract 13.23.0.
GitHub Advisory Database
Summary
Multiple classes evaluate Spring Expression Language (SpEL) expressions from user-supplied input using StandardEvaluationContext, which provides unrestricted access to Java types and methods. An authenticated user with the ADMIN role can achieve Remote Code Execution and credential exfiltration.
Impact
An attacker with ADMIN credentials can:
- Execute arbitrary OS commands via
T(java.lang.Runtime).getRuntime().exec('...') - Exfiltrate all environment variables (database passwords, API keys, Keycloak secrets) via
T(java.lang.System).getenv() - Read JVM system properties via
T(java.lang.System).getProperties() - Load arbitrary classes via
T(java.lang.Class).forName('...')
Affected Components
1. DocumentMigrationService (since 12.0.0)
Exploitable through the document migration REST API:
POST /api/management/v1/document-definition/migratePOST /api/management/v1/document-definition/migration/conflicts
The malicious SpEL expression is supplied in the source or target field of a DocumentMigrationPatch object in the request body, using the ${...} template syntax.
- In 12.x:
com.ritense.document.service.DocumentMigrationService#handleSpelExpression(document module) - In 13.x: same class, moved to the case module
2. Condition (since 13.4.0)
Exploitable through any admin-configured widget, dashboard, or feature that uses the Condition framework. The SpEL expression is supplied in the value field of a condition's JSON configuration.
com.ritense.valtimo.contract.conditions.Condition#resolveValue(contract module)
This component has a significantly wider attack surface than DocumentMigrationService, as conditions are used across many modules.
Remediation
Replace StandardEvaluationContext with SimpleEvaluationContext in both affected classes, which disallows Java type references and arbitrary method invocation:
val evaluationContext = SimpleEvaluationContext
.forPropertyAccessors(MapAccessor(), jsonPropertyAccessor)
.build()
NVD (es)
Valtimo es una plataforma de automatización de procesos de negocio de código abierto. com.ritense.valtimo:document desde 12.0.0 hasta antes de 12.32.0, com.ritense.valtimo:case desde 13.0.0 hasta antes de 13.23.0, y com.ritense.valtimo:contract desde 13.4.0 hasta antes de 13.23.0 evalúan expresiones de Spring Expression Language (SpEL) a partir de entradas proporcionadas por el usuario utilizando StandardEvaluationContext, lo que proporciona acceso sin restricciones a tipos y métodos de Java. Un usuario autenticado con el rol ADMIN puede lograr la ejecución remota de código y la exfiltración de credenciales. Esta vulnerabilidad está corregida en com.ritense.valtimo:document 2.32.0, com.ritense.valtimo:case 13.23.0, y com.ritense.valtimo:contract 13.23.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42555 changed 2026-05-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j7j9-5253-f7vh changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-42555 changed 2026-10-25 | Public domain |