Camunda 8 can persist web sessions to Elasticsearch so they survive a pod restart, which any multi-replica deployment needs. Session attributes go in as base64 Java serialization and come back through an ObjectInputStream with no ObjectInputFilter installed. Anyone who can write a document to the session index therefore chooses what the application reconstructs, and the attacker triggers the read themselves by presenting the matching cookie. No victim, no credentials, no user interaction. A data-store position becomes code execution on the orchestration node.
TL;DR
The defect.
MigratingWebSessionAttributeConverterreads session attributes through a privateObjectInputStreamsubclass that overridesresolveClassfor one purpose, renaming a single class after a refactor, and then defers tosuperfor everything else. There is no allowlist and nosetObjectInputFiltercall anywhere in the file.What it grants. Code execution as the Camunda service account, which means every tenant's process data, in-memory credentials, and the ability to deploy and run arbitrary BPMN.
The tell.
resolveClassis overridden, so somebody was thinking about class resolution on this stream. They were thinking about compatibility, not about what elsesuper.resolveClasswill load.Reach. The persistent session feature is off by default but required for multi-replica deployments. Of the 18 compose files in the repository that define an Elasticsearch service, 16 set
xpack.security.enabled=falseand none set it true, so the Elasticsearch half of the precondition is what the project's own quickstarts hand you.Status. Reproduced on
camunda/camunda:8.10.0-alpha4. Fixed in 8.8.47, 8.9.29 and 8.10.10.
At a Glance
CVE | CVE-2026-77230 |
Product | Camunda 8 Orchestration Cluster, persistent web session store |
Class | CWE-502, Deserialization of Untrusted Data |
Root cause | Session attributes are deserialized through an |
Impact | Code execution as the Camunda service account for anyone with write access to the session index |
Affected | 8.8.0 before 8.8.47, 8.9.0 before 8.9.29, 8.10.0 before 8.10.10, and 8.11.0-alpha1 |
Fixed | 8.8.47, 8.9.29, 8.10.10 |
Severity | 8.1 CVSS 3.1 / 9.2 CVSS 4.0 (Critical) |
Disclosure | Reported through VulnCheck as CNA. Published 25 November 2026 |
Credit | CodeAnt AI Security Research Team |

Why Sessions Are in Elasticsearch at All
Camunda 8's web applications hold a session per signed-in user. Run one replica and that session can live in memory. Run two, or let Kubernetes reschedule a pod, and an in-memory session disappears underneath the user. So Camunda offers persistent web sessions, writing the session and its attributes into Elasticsearch, where every replica can read them.
That is a sensible design, and it quietly moves a trust boundary. The session store stops being internal state and becomes an input: data that arrives from outside the process and gets turned back into live Java objects. Whether that is safe depends entirely on what the deserializer is willing to construct.
The stored form really is Java serialization. Reading a live session document shows it:
rO0ABX is base64 for the bytes ac ed 00 05, the Java serialization stream magic.
A resolveClass Override That Solves the Wrong Problem
dist/src/main/java/io/camunda/application/commons/identity/MigratingWebSessionAttributeConverter.java:68-80:
The class exists to survive a refactor. io.camunda.security.auth.CamundaAuthentication moved package, so sessions written before the move would fail to load after it, and CLASS_RENAMES maps the old name to the new one. For every other class name, the method hands off to super.resolveClass, which resolves anything on the classpath.
This is the detail worth sitting with. resolveClass is exactly the hook you override to constrain deserialization. It was overridden here, which means a developer was looking at class resolution on this stream and shipped a change to it. The change was about compatibility. Nothing in the file mentions what else the stream will now happily construct: a grep for ObjectInputFilter or setObjectInputFilter across the file returns zero matches.
The gadget that makes this matter is in the image. The repository pins commons-collections at version 20040616 in parent/pom.xml:180, which is the artifact published as 3.1-RC1; its InvokerTransformer carries no readObject guard, because Apache added that in 3.2.2 in 2015. The published CVE record names the same library as the route to code execution.
Two Preconditions, and the Project Ships One of Them
There are exactly two, and nothing else. No victim interaction, no valid session, no application credentials.
One: write access to Camunda's Elasticsearch. This is where the finding gets uncomfortable, because the project's own compose files hand it over. Measured at commit 8cd021870f4:
Compose files in the repository that define an Elasticsearch service | 18 |
|---|---|
Set | 16 |
Set it true | 0 |
Set no | 2 |
Compose files publishing | 19 |
In that shape no credentials are required for step one at all.
Two: camunda.security.session.persistent.enabled=true. This is off by default, and we are not going to pretend otherwise. It is also what you turn on the moment you run more than one replica, because without it sessions are lost whenever a pod restarts. Legacy keys such as camunda.operate.persistent.sessions.enabled bridge onto it through PersistentWebSessionPropertiesPostProcessor, so an older configuration can enable it without naming the new property.
The honest summary of reach is that this is a non-default feature combined with a default-insecure dependency, and the overlap is production multi-replica clusters, which is also where the data is.
Proving Reachability Without Writing an Exploit
The reachability check deliberately carries no gadget. It writes a session document whose attribute is the ASCII string NOT-VALID-JAVA-SERIALIZATION, then presents the matching cookie with no credentials:
Step | Request | Result |
|---|---|---|
1 | write a session document straight into Elasticsearch |
|
2 |
|
|
3 | read the server log |
|
4E4F542D is hex for NOT-. Those are the marker bytes, and the stack frame names the line:
The deserializer ran on attacker-supplied bytes delivered by an unauthenticated request, and it refused them only because they were invalid by design. Valid serialized bytes get reconstructed instead. That is the whole claim of this finding, and it is proven with a string that could not execute anything.
The step from there to command execution is established separately, by a sibling finding in the same batch that drove a transformer chain to Runtime.exec on this same shipped classpath. We are explicit about the split: this post proves the path, that one proves the payload, and no weaponised payload was written for this path.

Severity
Metric | Value |
|---|---|
CVSS 3.1 | 8.1, |
CVSS 4.0 | 9.2, |
Network reachable, no privileges where Elasticsearch ships unauthenticated, no user interaction, and High across confidentiality, integrity and availability because the outcome is code execution as the service account.
AC:H is the metric that caps it, and it is the record's judgement rather than our original one. Our report argued AC:L and scored 9.8, on the reasoning that neither precondition is an obstacle the attacker overcomes: they are configuration states that either hold or do not. The published record takes AC:H, which prices the conjunction of the non-default session feature, the reachable Elasticsearch and the gadget chain, and brings 3.1 to 8.1. We think AC:H is defensible and we are headlining it. It is also worth knowing the other direction: where an operator has put credentials on Elasticsearch, the attacker must obtain those first, and the realistic vector drops to roughly PR:H and 7.2 under 3.1.
Note that the two versions disagree on the word. The same facts are Critical under 4.0 and High under 3.1. Both are in the table because picking the flattering one would be a choice, not a finding.
Detection and Fix
Upgrade. Camunda fixed this in 8.8.47, 8.9.29 and 8.10.10. That is the durable remedy.
The durable code fix is to install an ObjectInputFilter allowlist on that stream, so resolveClass is no longer the only thing standing between the session index and the classpath:
Better still, stop storing session attributes as Java serialization. A JSON representation of the authentication removes the sink entirely, and it makes the class-rename shim that this class exists for unnecessary, since renaming a field in JSON is not a compatibility event.
If you cannot upgrade immediately, these reduce exposure, each with a cost, and the untested ones are reasoned from the code path rather than measured:
Enable authentication on Elasticsearch and rotate to real credentials. This removes the unauthenticated write and is worth doing regardless of this CVE, since the compose files in the repository do not do it for you. The cost is that every client of that cluster needs configuring.
Ensure port 9200 is not reachable from outside the cluster network. This narrows who can attempt the write without changing what happens if they can.
Turn off persistent sessions if you genuinely run a single replica. The cost is that users are signed out whenever the pod restarts, which is why multi-replica deployments cannot take this option.
Detection is effectively absent. A poisoned session document is indistinguishable from a legitimate one without decoding the attribute, and a successful deserialization logs nothing at all. The only visible event in our lab was the failed attempt, and it was visible precisely because we made the bytes invalid on purpose.
Credit and Scope
Finding | CodeAnt AI Security Research Team |
What we claim | Session attributes are deserialized with no |
What we do not claim | No weaponised payload was written for this path; the step to command execution is carried by a sibling finding on the same classpath. No prevalence measurement: we did not scan for exposed Elasticsearch clusters or for deployments with persistent sessions enabled. We did not test every affected 8.x line, only |
Related | Reported in the same batch as a Camunda 8 cluster-transport deserialization finding that supplies the gadget chain, and as CVE-2026-77224, a Camunda 7 XXE with an unrelated root cause. The sibling Camunda 8 CVE is pending publication. |
Coordination | Reported through VulnCheck as CNA. Fixed in 8.8.47, 8.9.29 and 8.10.10. |
More from CodeAnt
CVE-2026-77224: the XXE fix that was applied to one copy of two
CVE-2026-109432: the ad-hoc query validator that had nothing to validate
CVE-2026-77226: the first-run setup endpoint that counts one table while the engine reads two config lists
Find out what is already exploitable in your codebase. Book a demo or start a free trial at codeant.ai.






