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

High 8.8 Published Updated

Incorrect equality logic in CedarJava entity identifiers may allow integrators to bypass authorization checks if they rely on custom equality comparisons.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-55771?

CVE-2026-55771 is a high-severity code injection vulnerability in cedar-policy cedar-java, published on 13 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94, CWE-843, CWE-697

Which versions are affected by CVE-2026-55771?

6 open source packages ship an affected version, including com.cedarpolicy:cedar-java.

PackageAffectedFixed in
com.cedarpolicy:cedar-java MavenAll versions2.3.6
com.cedarpolicy:cedar-java MavenAll versions2.3.6
com.cedarpolicy:cedar-java MavenFrom 3.1.23.4.1
com.cedarpolicy:cedar-java MavenFrom 3.1.23.4.1
com.cedarpolicy:cedar-java MavenFrom 4.0.04.9.0
com.cedarpolicy:cedar-java MavenFrom 4.0.04.9.0

How do I fix CVE-2026-55771?

Upgrade com.cedarpolicy:cedar-java to a fixed version for your release line: 2.3.6, 3.4.1 or 4.9.0.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-55771 being exploited?

There is no known exploitation of CVE-2026-55771 in the wild and no public exploit code.

Sources

Also known as GHSA-4r9r-4425-74p7.

Is CVE-2026-55771 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free