Skip to content
Heist/ feed
Back to feed
High

CedarJava has policy injection, type confusion, and incorrect equality comparison vulnerabilities

Type: advisorySources: OSV

CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 4.9.0, the EntityIdentifier.equals() has inverted null/self branches which could lead to incorrect equality comparisons. The EntityIdentifier.equals() method has inverted logic for null and self-reference checks, returning true for null comparisons and false for self-comparisons. This does not affect Cedar authorization decisions (computed in Rust from JSON), but could affect integrators who perform their own equality checks on entity identifiers. This issue has been fixed in version 4.9.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-55771
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:42 UTC · Revision 1

Source evidence

CedarJava has policy injection, type confusion, and incorrect equality comparison vulnerabilities

core-osv · Original source

Published 13 Jul 2026, 19:28 UTC

CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 4.9.0, the EntityIdentifier.equals() has inverted null/self branches which could lead to incorrect equality comparisons. The EntityIdentifier.equals() method has inverted logic for null and self-reference checks, returning true for null comparisons and false for self-comparisons. This does not affect Cedar authorization decisions (computed in Rust from JSON), but could affect integrators who perform their own equality checks on entity identifiers. This issue has been fixed in version 4.9.0.

osv:CVE-2026-55771
Complete source record
{
  "id": "928314227455f0fedb50306650e083672c0871929df29f961aaeef2850d3dd4f",
  "url": "https://osv.dev/vulnerability/CVE-2026-55771",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CedarJava has policy injection, type confusion, and incorrect equality comparison vulnerabilities",
    "summary": "CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 4.9.0, the EntityIdentifier.equals() has inverted null/self branches which could lead to incorrect equality comparisons. The EntityIdentifier.equals() method has inverted logic for null and self-reference checks, returning true for null comparisons and false for self-comparisons. This does not affect Cedar authorization decisions (computed in Rust from JSON), but could affect integrators who perform their own equality checks on entity identifiers. This issue has been fixed in version 4.9.0.",
    "evidence": "osv:CVE-2026-55771",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-55771",
      "aliases": [
        "CVE-2026-55771",
        "GHSA-4r9r-4425-74p7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cedar-policy/cedar-java",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6dd91c6c273a9bd55d927280d71e13fec9ccaf33"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.9.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.9.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55771.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.901391898Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55771.json",
        "https://github.com/cedar-policy/cedar-java/security/advisories/GHSA-4r9r-4425-74p7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-55771"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-697",
          "CWE-843",
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55771.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55771",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487296,
  "published_at": "2026-07-13T19:28:00.835+00:00"
}