Patch Level Update
This guide explains how to perform a patch level update. The patch level is the version number “after the second dot”. Example: update from 2.1.2 to 2.1.2.
Enterprise and Community+ users
Please note that Patch Level Updates are only provided to community+ and enterprise customers, they are not available in the community edition.
Database Patches
Between patch levels, the structure of the database schema is not changed. The database structure of all patch releases is backward compatible with the corresponding minor version. Our database schema update guide provides details on the update procedure as well as available database patches.
Special Considerations
This section describes noteworthy potentially breaking changes when you update to the respective patch levels.
2.2.4 to 2.2.5
Security: Optional Endpoint Allow-List for Connectors
Connector targets such as the HTTP request URL, the AI agent’s base URL or its MCP servers often come from process variables. Operators can now restrict the endpoints that the HTTP, SOAP, AI agent and knowledge ingestor connectors may contact. Without configuration, nothing changes.
Set the allow-list as a JVM system property or an environment variable (it is not read from application.yaml):
cibseven.connect.allowed-endpoints/CIBSEVEN_CONNECT_ALLOWED_ENDPOINTSfor all connectors,cibseven.connect.<connectorId>.allowed-endpoints/CIBSEVEN_CONNECT_<CONNECTOR_ID>_ALLOWED_ENDPOINTSfor one connector, e.g.cibseven.connect.cibseven-ai-agent.allowed-endpoints. A connector’s own list replaces the global one;*exempts the connector.
Entries are separated by commas or whitespace and have the form scheme://host[:port] or scheme://*.domain[:port], without a path, e.g. https://api.openai.com, https://*.example.com or postgresql://db.example.com:5432.
Host names are compared without DNS resolution; wildcards need at least two labels and never match IP addresses. Invalid entries are ignored with a warning.
Checked are the HTTP and SOAP request URL and every redirect, the AI agent’s base URL, every MCP server, the pgvector host and the OpenAI embedding endpoint, and the knowledge ingestor’s pgvector host and embedding endpoint.
A refused endpoint fails the connector call with a ConnectorEndpointNotAllowedException before anything is sent.
Expected Impact
None without configuration. With an allow-list, list every endpoint your processes use, including the pgvector host (postgresql://host:port) and https://api.openai.com for remote embeddings.
Redirects are only checked for the HTTP client the connector creates itself, not for a client replaced through a connector configurator.
Security: Permissions for Task and Process Instance Comments
Creating and reading task and process instance comments, and reading task events, now require a permission on the task or process instance, including the tenant check:
- Reading the comments or events of a task:
READon the task orREAD_TASKon the process definition. - Reading the comments of a process instance:
READon the process instance orREAD_INSTANCEon the process definition. Task comments the caller may not read are left out. - Adding a comment to a task:
TASK_WORKorUPDATEon the task, orUPDATE_TASKon the process definition; to a process instance:UPDATEon the process instance orUPDATE_INSTANCEon the process definition.
Comments of completed tasks and process instances are checked against the history permissions: reading needs READ_HISTORY on the process definition, or READ on the historic task or historic process instance with enableHistoricInstancePermissions; adding a comment needs DELETE_HISTORY on the process definition or ALL on the historic task or historic process instance.
A comment for a task and a process instance is rejected if the task does not belong to that process instance.
Expected Impact
With authorization enabled, users without these permissions now get an AuthorizationException, and the REST endpoint for creating a task comment answers with HTTP 403 instead of 400.
As for the task itself, the former assignee of a completed process task needs READ_HISTORY on the process definition to keep reading its comments; enable enableHistoricInstancePermissions if assignees should keep access.
The new engine property enforceCommentPermissions (default true) can be set to false to restore the previous behavior. Updating and deleting comments stay checked either way.
Security: Permissions for Task and Process Instance Attachments
Reading, creating, updating and deleting task and process instance attachments now require a permission on the task or process instance, including the tenant check:
- Reading an attachment of a task, its content or the attachment list of a task:
READon the task orREAD_TASKon the process definition. - Reading an attachment of a process instance or the attachment list of a process instance:
READon the process instance orREAD_INSTANCEon the process definition. Attachments of tasks the caller may not read are left out of the list. - Creating, updating or deleting an attachment of a task:
TASK_WORKorUPDATEon the task, orTASK_WORKorUPDATE_TASKon the process definition; of a process instance:UPDATEon the process instance orUPDATE_INSTANCEon the process definition.
Attachments of completed tasks and process instances are checked against the history permissions: reading needs READ_HISTORY on the process definition, or READ on the historic task or historic process instance with enableHistoricInstancePermissions; writing needs DELETE_HISTORY on the process definition or ALL on the historic task or historic process instance.
Attachments whose task or process instance no longer exists, not even in the history, can only be read or changed by an administrator.
With authorization enabled, an attachment for a task and a process instance is rejected if the task does not belong to that process instance.
Expected Impact
With authorization enabled, users without these permissions now get an AuthorizationException, and the REST endpoints for task attachments answer with HTTP 403.
The former assignee of a completed process task needs READ_HISTORY on the process definition to keep reading its attachments; enable enableHistoricInstancePermissions if assignees should keep access.
Engines without authorization and tenant check are not affected.
The new engine property enforceAttachmentPermissions (default true) can be set to false to restore the previous behavior.
Security: AI Agent Connector Sends the Global API Key Only to the Configured Endpoint
The AI agent connector now sends the API key from the OPENAI_API_KEY environment variable only to the endpoint configured by the operator.
This prevents a base URL supplied by a process (for example through a process variable) from receiving the global API key.
The global key is sent when the model does not set a base URL, or when the base URL has the same scheme, host and port as OPENAI_BASE_URL
(or as https://api.openai.com/v1 if OPENAI_BASE_URL is not set). An API key defined in the model is used as before, for any endpoint.
Expected Impact
Models that set their own base URL and rely on OPENAI_API_KEY from the environment (e.g. OpenRouter) no longer receive that key.
The request is sent without an API key and the provider typically rejects it with HTTP 401. The connector logs a warning naming the endpoint (scheme, host and port only).
To keep such models working, do one of the following:
- Set
OPENAI_BASE_URLto the endpoint the models use, or - define the API key in the model.
Endpoints that do not need an API key, such as a local Ollama, are not affected.
Remote embedding models (embeddingModelName set, in the AI agent task and the knowledge ingestor) always call https://api.openai.com/v1.
They now receive OPENAI_API_KEY only if OPENAI_BASE_URL is not set or points to OpenAI as well, so another provider’s key is no longer sent to OpenAI.
In the AI agent task, the API key defined in the model belongs to its base URL: it is only sent to remote embeddings if that base URL is OpenAI as well.
With another provider configured, define the API key in the model or leave embeddingModelName empty to use the local embedding model.
For more information, see Configuring the Agent.
Security: JUEL Scripts Use the Expression Manager’s Resolver Chain
JUEL scripts (scriptFormat="juel" in script tasks, listeners, script conditions and input/output mappings) now resolve names, properties and methods through the configured expression manager, like attribute expressions do.
Restrictions of a customized expression manager therefore apply to JUEL scripts as well.
This only applies with a customized expression manager (a subclass of JuelExpressionManager) or a SpringExpressionManager with beans set. With the default expression managers, JUEL scripts behave as before.
Expected Impact
In JUEL scripts, with a customized expression manager or a SpringExpressionManager with beans set:
- restrictions of the expression manager now apply, including to top-level names,
- names that only the script resolver factories provided (configuration beans, Spring beans, mocks, a custom
ResolverFactory) are no longer available, contextandlang:importare no longer available,- a process variable takes precedence over a bean with the same name,
- unknown names fail with “Cannot resolve identifier”.
To keep the previous behavior, override isAppliedToJuelScripts() in your expression manager to return false.
Security: Optional Allow-List for Task Types and Script Languages
Operators can now restrict the built-in task types and the script languages that process definitions may use. Without configuration, nothing changes.
Set the process engine property executionAllowList to a comma-separated list of names, e.g. external, groovy. Once it has entries, only the listed task types (shell, mail, external) and script languages are allowed.
Names are matched in full and ignore case; entries with a leading - or a * are rejected as a configuration error. Script language aliases (for example js, ecmascript and graal.js) must be listed individually.
- New deployments that use an unlisted
camunda:typeon a service task, send task, business rule task, intermediate message throw event or message end event are rejected. - Process definitions that are already deployed are blocked when they reach such an activity, and an unlisted script language is blocked when the script is executed, including scripts in process applications and in DMN decisions. JUEL and FEEL in DMN are always allowed.
- A blocked use fails with
ENGINE-25003. The message names the task type or language and the activity, but not the configured list.
The property expressionHardeningMode controls how a violation is handled: enforce (default) blocks it, report only logs a warning ENGINE-25004 and allows it, off disables the check.
Expected Impact
None without configuration. With an allow-list, list every task type and script language your processes use. External tasks that were created before the list was restricted can still be fetched and completed.
Security: Optional Deny-List for Expressions and Scripts
Operators can now check expressions and JUEL scripts against a deny list. It applies to BPMN and CMMN expressions, JUEL scripts, JUEL expressions in DMN and the legacy JUEL-based FEEL, including EL functions.
In 2.2.5 the deny list is only active if the process engine property deniedExpressionAccess is set. Without it, nothing changes.
Once deniedExpressionAccess is set, the deny list blocks reflection and access to engine internals by default:
class, getClass, java.lang.Class, java.lang.ClassLoader, java.lang.reflect.AccessibleObject, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandles, lang:import, org.cibseven.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl, java.lang.Runtime and java.lang.ProcessBuilder,
plus the EL implementation itself (jakarta.el, javax.el and org.cibseven.bpm.impl.juel).
deniedExpressionAccess: comma-separated entries that are added to the defaults;-entryremoves a default. Entries can be names (getClass), types or packages (java.lang.Runtime), EL functions (lang:import,:name) and members (com.example.Admin#delete);*is a wildcard. To activate only the defaults, set an entry that changes nothing, e.g.java.lang.Runtime.expressionHardeningMode:enforce(default) blocks a denied access,reportlogs a warningENGINE-25010and allows it,offdisables the check.
The configuration is fixed when the process engine is built.
Expected Impact
None without configuration. Once the deny list is active, expressions and JUEL scripts that use reflection or Class objects, JUEL scripts with lang:import and expressions that read the process engine configuration fail.
We recommend to start with expressionHardeningMode=report, check the log for ENGINE-25010 and then switch to enforce.
From CIB seven 3.0.0 on, the deny list is active by default.
2.0.14 / 2.1.10 / 2.2.4
Security: Task Filter Expression Whitelist Enabled by Default
JUEL expressions in task filter criteria and ad-hoc task queries (e.g. assigneeExpression) are now restricted to a whitelist by default.
This closes the expression injection issue from Camunda Security Notice 157 for stored filters, ad-hoc task queries and or() branches.
Allowed by default (n = any non-negative number):
${currentUser()},${currentUserGroups()},${now()}${dateTime()},${dateTime().withMillis(n)},${dateTime().withTimeAtStartOfDay()}${dateTime().withTimeAtStartOfDay().plusDays(n).minusSeconds(n)}${dateTime().plusDays(n)},${dateTime().plusDays(n).withTimeAtStartOfDay()},${dateTime().plusWeeks(n)}- plain literal values
Expected Impact
All other expressions, e.g. ${dateTime().minusMonths(2)}, are rejected with HTTP 400. In the Tasklist, such a filter shows an error instead of the task list.
For more information, see Custom Code & Security.
2.2.0 to 2.2.1
Date and Time Serialization Format Change
As of 3.0.0 and 2.2.2, date and time values in webclient REST responses are serialized as ISO-8601 strings, matching the Spring Boot default:
| Type | Example output |
|---|---|
java.util.Date, java.sql.Timestamp |
"2026-08-04T13:20:00.000+00:00" |
java.time.Instant |
"2026-08-04T13:20:00Z" |
java.time.OffsetDateTime |
"2026-08-04T12:00:00+02:00" |
java.time.LocalDateTime |
"2026-08-04T12:00:00" |
java.time.LocalDate |
"2026-08-04" |
java.time.Duration |
"PT1H" |
In version 2.2.1, the webclient supplied its own ObjectMapper, which overrode the Spring Boot defaults
and wrote epoch milliseconds instead (1785849600000), and numeric arrays or fractional seconds for java.time
types. Consumers built against that output have to parse ISO-8601 strings now.
This also applies when the webclient is embedded as a library into another Spring Boot application: it no longer overrides that application’s date format.
As a temporary migration aid, the previous output can be restored:
cibseven:
webclient:
custom:
spring:
jackson:
serialization:
write-dates-as-timestamps: true
Deprecated
cibseven.webclient.custom.spring.jackson.serialization.write-dates-as-timestamps is deprecated and will be
removed. It exists only to give consumers that adapted to the earlier output a migration window. Jackson 3
disables timestamp output by default, so the flag loses its purpose once the wire layer moves to Jackson 3 and
will be removed together with that migration.
The flag is global: it affects every date and duration in every REST response. Prefer adapting the consumer, or
annotating the individual field with @JsonFormat, over switching the whole application back.
2.1.3 to 2.1.4
Multi-engine improvement
In CIB seven 2.1.4, multi-engine support feature, introduced in 2.1.3 version, was improved. Now, the extended endpoints are used only for alternative engines, ensuring full backward compatibility for existing webclient configurations. For example, when using the default engine, the web client connects to the standard endpoint to retrieve information about a process definition (as in versions prior to 2.1.3):
/process-definition/key
and for an alternative engine, it connects to the extended one:
/engine/<engine_name>/process-definition/key
Expected Impact
We expect no impact for most of the users.
Dependency Updates
The 2.1.4 release also includes a few dependency updates to address security vulnerabilities. For a complete list of updated dependencies, see Release Notes.
2.1.2 to 2.1.3
Multi-engine support
In CIB seven 2.1.3, multi-engine support was introduced, and CIB seven webclient was updated to use the extended REST API endpoints that include engine names. For example, before 2.1.3, the webclient connected to:
/process-definition/key
Now, it connects to:
/engine/<engine_name>/process-definition/key
In the next release, we plan to further improve this feature, so that the extended endpoints are used only for alternative engines, ensuring full backward compatibility with existing configurations.
Expected Impact
We expect no impact for most users.
If you have custom Spring Boot configurations, please review your authentication filter configuration and ensure that the /engine/* endpoint is included in the urlPatterns array.
Alternatively, update your configuration to the recommended general URL pattern /*, which enables the authentication filter for all required endpoints:
String[] urlPatterns = Arrays.asList("/*")
.stream()
.map(pattern -> addUrl(restApiPathPattern, pattern))
.toArray(String[]::new);
Full Distribution
This section is applicable if you installed the Full Distribution with a shared process engine. In this case you need to update the libraries and applications installed inside the application server.
Please note that the following procedure may differ for cluster scenarios. Contact our support team if you need further assistance.
- Shut down the server
- Exchange CIB seven libraries, tools and webapps (EAR, RAR, Subsystem (Wildfly), Shared Libs) - essentially, follow the installation guide for your server.
- Restart the server
Application With Embedded Process Engine
In case you use an embedded process engine inside your Java Application, you need to
- update the Process Engine library in your dependency management (Apache Maven, Gradle …),
- re-package the application,
- deploy the new version of the application.
Applying Multiple Patches at Once
It is possible to apply multiple patches in one go (e.g., updating from 2.1.0 to 2.1.3).