{"id":"CVE-2026-55771","published":"2026-07-13T19:28:00Z","modified":"2026-07-14T14:31:41Z","title":"CedarJava has policy injection, type confusion, and incorrect equality comparison vulnerabilities","vendor":"cedar-policy","product":"cedar-java","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00575,"percentile":0.48383,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-697","name":"Incorrect Comparison"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/cedar-policy/cedar-java/security/advisories/GHSA-4r9r-4425-74p7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":9.68},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"cedar-policy","affectedVersions":[{"vendor":"cedar-policy","product":"cedar-java","versions":["< 4.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-14T14:23:44.626378Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.cedarpolicy:cedar-java","vulnerableRanges":["<2.3.6",">=3.1.2, <3.4.1",">=4.0.0, <4.9.0"],"patched":["2.3.6","3.4.1","4.9.0"],"from":["GHSA-4r9r-4425-74p7"],"provenance":"source"}],"summary":{"text":"CedarJava, the Java implementation of the Cedar policy language from cedar-policy, contains flaws in its EntityIdentifier.equals() method, where null and self-reference checks are inverted, along with policy injection and type confusion weaknesses. An attacker with low-privilege network access to a deployment that performs its own equality checks on entity identifiers could cause incorrect equality results, while the core authorization decisions themselves are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:13Z"},"euvd":{"id":"EUVD-2026-43524","exploited":false,"provenance":"source"}}