ZeroHour

CVE-2026-91145

Spring Expression Injection in Activiti BPM through 7.1.0.M6 via Mail Task Body Fields

CVSS 4.0
7.1 high
EPSS
Published
()
Modified
AI analysis

Activiti through version 7.1.0.M6 fails to validate hash-brace (#{...}) deferred expressions supplied in process variables, allowing attackers to bypass the product's expression filtering. A low-privileged attacker who can set process variables can store a malicious #{ expression that is later evaluated in the full Spring application context when a mail task renders a variable-backed body field. Successful exploitation enables arbitrary method invocation on application beans, which can lead to data exposure, tampering, or remote code execution depending on what the beans expose. This affects any deployment of Alfresco's open-source Activiti BPM engine up to and including 7.1.0.M6 where user-influenced process variables feed mail task body fields. No public proof of concept is known and the flaw is not listed in the CISA KEV catalog.

What to do: Upgrade Activiti to a release newer than 7.1.0.M6 once a fixed version is published by Alfresco/Activiti maintainers. In the interim, avoid binding user-controllable process variables directly into mail task body (or other template) fields, and reject or sanitize inputs containing '#{'. Review audit logs and process history for unexpected expression evaluation or calls on Spring beans originating from process variables, and restrict which authenticated users or services can start processes and set variables.

Affected
Alfresco Activitithrough 7.1.0.M6
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Activiti through 7.1.0.M6 fails to validate hash-brace deferred expressions in process variables, allowing attackers to bypass expression filtering. Attackers can inject expressions beginning with #{ that are stored and later evaluated in the full Spring context when a mail task uses variable-backed body fields, enabling method invocation on application beans.

Weakness
CWE-917
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.