CVE-2026-55772: Cedar java CedarJava Has Type Confusion Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-93g4-m6xv-cmvr
CVSS 8.8
CWE-843
Published
Advisory Summary

CVE-2026-55772 is a HIGH (CVSS 8.8) cedarjava has type confusion vulnerability vulnerability (CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')) affecting Cedar java libraries in the Maven ecosystem. The issue involves cedarjava has type confusion vulnerability. Remediation is available by upgrading affected packages to version 2.3.6, 3.4.1, 4.9.0.

CVE-2026-55772 at a Glance

CVE Identifier CVE-2026-55772
GHSA Identifier GHSA-93g4-m6xv-cmvr
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Affected Product Cedar java
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-55772

To remediate this vulnerability, upgrade all affected Cedar java dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.cedarpolicy:cedar-java fixed: 2.3.6
<dependency>
    <groupId>com.cedarpolicy</groupId>
    <artifactId>cedar-java</artifactId>
    <version>2.3.6</version>
</dependency>
com.cedarpolicy:cedar-java fixed: 3.4.1
<dependency>
    <groupId>com.cedarpolicy</groupId>
    <artifactId>cedar-java</artifactId>
    <version>3.4.1</version>
</dependency>
com.cedarpolicy:cedar-java fixed: 4.9.0
<dependency>
    <groupId>com.cedarpolicy</groupId>
    <artifactId>cedar-java</artifactId>
    <version>4.9.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.cedarpolicy

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-55772, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.cedarpolicy

Analyze the terminal output to locate any version of Cedar java in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.cedarpolicy command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-843: Access of Resource Using Incompatible Type ('Type Confusion'), where the product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. In Cedar java, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. Under certain circumstances, improper input handling could allow type confusion across the Java-Rust FFI boundary. ### Impact **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. ### Impacted versions: < 4.9 ### Patches Addressed in CedarJava version 2.3.6, 3.4.1, and 4.9 and above. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. ### Workarounds Enable schema-based request validation to catch type mismatches. Validate that user-controlled data does not contain reserved keys (`__entity` or `__extn`) before building `CedarMap` objects. ### References If you have any questions or comments about this advisory, we ask that you contact us directly via email to [cedar-policy-security@lists.cncf.io](mailto:cedar-policy-security@lists.cncf.io). Please do not create a public GitHub issue.

CVE-2026-55772 Affected Cedar java Versions

3 component(s)
Fixed Versions:
2.3.63.4.14.9.0
Product / Package Ecosystem Affected Versions Fixed Version
com.cedarpolicy:cedar-java
Maven
< 2.3.6
2.3.6
com.cedarpolicy:cedar-java
Maven
≥ 3.1.2
< 3.4.1
3.4.1
com.cedarpolicy:cedar-java
Maven
≥ 4.0.0
< 4.9.0
4.9.0

References

Frequently Asked Questions

What is CVE-2026-55772?
CVE-2026-55772 is a security vulnerability in Cedar java involving CedarJava has type confusion vulnerability under CWE-843: Access of Resource Using Incompatible Type ('Type Confusion').
Which Cedar java versions are affected?
Affected versions include releases prior to 2.3.6, 3.4.1, 4.9.0 across affected packages: com.cedarpolicy:cedar-java.
What version fixes CVE-2026-55772?
Upgrading to 2.3.6, 3.4.1, 4.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cedar-java affected?
Yes, com.cedarpolicy:cedar-java is affected in releases prior to 2.3.6, 3.4.1, 4.9.0. Upgrade your dependency to 2.3.6, 3.4.1, 4.9.0 or later.
What is the CVSS score of CVE-2026-55772?
CVE-2026-55772 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-55772?
CVE-2026-55772 is classified under CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') (The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.).
How can I check Maven dependencies for CVE-2026-55772?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.cedarpolicy'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-93g4-m6xv-cmvr",
  "modified" : "2026-07-28T01:55:31Z",
  "published" : "2026-06-19T14:38:43Z",
  "aliases" : [ "CVE-2026-55772" ],
  "summary" : "CedarJava has type confusion vulnerability ",
  "details" : "### Summary\n\nCedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. Under certain circumstances, improper input handling could allow type confusion across the Java-Rust FFI boundary.\n\n### Impact\n\n**Record-to-Entity type confusion across the Java-Rust FFI boundary**\n\nCedarJava 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.\n\nThis 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.\n\n### Impacted versions: \n< 4.9\n\n### Patches\nAddressed in CedarJava version 2.3.6, 3.4.1, and 4.9 and above. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\n### Workarounds\nEnable schema-based request validation to catch type mismatches. Validate that user-controlled data does not contain reserved keys (`__entity` or `__extn`) before building `CedarMap` objects.\n\n### References\nIf you have any questions or comments about this advisory, we ask that you contact us directly via email to [cedar-policy-security@lists.cncf.io](mailto:cedar-policy-security@lists.cncf.io). Please do not create a public GitHub issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.cedarpolicy:cedar-java"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.cedarpolicy:cedar-java"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.2"
      }, {
        "fixed" : "3.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.cedarpolicy:cedar-java"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.9.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cedar-policy/cedar-java/security/advisories/GHSA-93g4-m6xv-cmvr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-55772"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cedar-policy/cedar-java"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-843" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-19T14:38:43Z",
    "nvd_published_at" : "2026-07-13T19:17:15Z"
  }
}