Loading...
Skip to main content

CVE-2026-42555 — Vulnerability in com.ritense.valtimo:document —...

CRITICAL

Valtimo has SpEL injection via StandardEvaluationContext that allows Remote Code Execution by admin users

Published May 6, 2026Updated September 10, 2026Source: osv

Summary

### 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/migrate` - `POST /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: ```kotlin val evaluationContext = SimpleEvaluationContext .forPropertyAccessors(MapAccessor(), jsonPropertyAccessor) .build() ```

Advisory Timeline

  • First published May 6, 2026 (159 days ago).
  • Last revised September 10, 2026 — 126 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.ritense.valtimo:document to 12.32.0 or later
<!-- Update pom.xml dependency version to 12.32.0 for com.ritense.valtimo:document -->
Maven
Update com.ritense.valtimo:contract to 13.23.0 or later
<!-- Update pom.xml dependency version to 13.23.0 for com.ritense.valtimo:contract -->
Maven
Update com.ritense.valtimo:case to 13.23.0 or later
<!-- Update pom.xml dependency version to 13.23.0 for com.ritense.valtimo:case -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (3).

PackageEcosystemAffectedFixed In
com.ritense.valtimo:document
maven
12.0.0.RELEASE, 12.0.1.RELEASE, 12.1.0.RELEASE, 12.1.1.RELEASE (+52 more)12.32.0
com.ritense.valtimo:contract
maven
13.10.0.RELEASE, 13.11.0.RELEASE, 13.12.0.RELEASE, 13.13.0.RELEASE (+20 more)13.23.0
com.ritense.valtimo:case
maven
13.0.0.RELEASE, 13.0.1.RELEASE, 13.0.2.RELEASE, 13.1.0.RELEASE (+30 more)13.23.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-42555?
Valtimo has SpEL injection via StandardEvaluationContext that allows Remote Code Execution by admin users This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2026-42555?
CVE-2026-42555 affects com.ritense.valtimo:document, com.ritense.valtimo:contract and com.ritense.valtimo:case. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42555 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-j7j9-5253-f7vh

Related CVEs

  • CVE-2026-107726
    CRITICAL

    Hazelcast allows arbitrary member memory access by low-privileged client

  • CVE-2026-107282
    CRITICAL

    AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host

  • CVE-2025-58059
    CRITICAL

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

  • CVE-2025-48881
    HIGH

    Valtimo backend libraries allows objects in the object-api to be accessed and modified by unauthorized users

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies