Vulnerability · Published Jul 13, 2026 · Assigned by GitHub_M
CVE-2026-55772CedarJava has a type confusion vulnerability
High 8.8
In plain English
A high-severity type confusion in cedar-java from cedar-policy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 2.3.6, 3.4.1 and 4.9.0, under certain circumstances, improper input handling could allow Record-to-Entity type confusion across the Java-Rust FFI boundary. CedarJava sends authorization requests to the Rust cedar-policy evaluator as JSON. The JSON protocol reserves magic single-key object shapes (__entity and __extn) for entity references and extension values. When serializing a CedarMap, there is no validation preventing these reserved keys from being used. If an integrating service builds a CedarMap from caller-supplied key/value data (such as request headers, user-defined metadata, or resource tags), an actor who controls those keys could cause the Rust evaluator to interpret a record as an entity reference. This issue requires the integrating service to build a CedarMap where the an actor controls the keys, and a policy must reference that value in a when/unless clause. This vulnerability has been fixed in versions 2.3.6, 3.4.1, and 4.9.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.cedarpolicy:cedar-java | 2.3.6 | GHSA-93g4-m6xv-cmvr |
| Maven | com.cedarpolicy:cedar-java | 3.4.1 | GHSA-93g4-m6xv-cmvr |
| Maven | com.cedarpolicy:cedar-java | 4.9.0 | GHSA-93g4-m6xv-cmvr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cedar-policy | cedar-java | < 2.3.6>= 3.1.2, < 3.4.1>= 4.0.0, < 4.9.0 |
Weakness: CWE-843 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H