{"id":"CVE-2026-55772","published":"2026-07-13T18:44:47Z","modified":"2026-07-21T19:02:48Z","title":"CedarJava has a type confusion vulnerability","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 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.","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.00479,"percentile":0.42281,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/cedar-policy/cedar-java/security/advisories/GHSA-93g4-m6xv-cmvr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":8.46},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"cedar-policy","affectedVersions":[{"vendor":"cedar-policy","product":"cedar-java","versions":["< 2.3.6",">= 3.1.2, < 3.4.1",">= 4.0.0, < 4.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-21T19:02:38.661180Z","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-93g4-m6xv-cmvr"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-43522","exploited":false,"provenance":"source"}}