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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.82%). Schedule for your next planned update.

Does your project use an affected com.ritense.valtimo:document version?

Paste your pom.xml to check it for CVE-2026-42555 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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:

val evaluationContext = SimpleEvaluationContext
    .forPropertyAccessors(MapAccessor(), jsonPropertyAccessor)
    .build()

Advisory Timeline

  • First published May 6, 2026 (204 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (3).

PackageFixed In
com.ritense.valtimo:document Maven · Affected: 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 · Affected: 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 · Affected: 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. It has a 0.8% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.82%
EPSS percentile: 54.4

This is an above-median EPSS score — 54.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

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 your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml