CVE-2026-55771: CWE-94: Improper Control of Generation of Code ('Code Injection') in cedar-policy cedar-java
CVE-2026-55771 is a high-severity vulnerability in cedar-java versions prior to 4.9.0. The EntityIdentifier.equals() method contains inverted logic for null and self-reference checks, causing incorrect equality comparisons. While this flaw does not impact Cedar authorization decisions computed in Rust, it may affect integrators relying on Java-side equality checks. The issue has been fixed in version 4.9.0.
AI Analysis
Technical Summary
The vulnerability in cedar-java (CVE-2026-55771) involves improper control of code generation (CWE-94) manifested as inverted null/self-reference logic in the EntityIdentifier.equals() method prior to version 4.9.0. This causes the method to return true when comparing to null and false when comparing an entity to itself, leading to incorrect equality evaluations. Although the core authorization logic in Cedar is unaffected, integrators performing their own equality checks on entity identifiers in Java could encounter erroneous behavior. The issue is resolved in cedar-java version 4.9.0.
Potential Impact
The vulnerability can cause incorrect equality comparisons in cedar-java integrations, potentially leading to logic errors in applications that rely on these checks. The core authorization decisions computed in Rust from JSON remain unaffected, so the primary security enforcement is not compromised. However, integrators using Java-side equality checks may experience unintended behavior, which could affect application correctness or security depending on usage context.
Mitigation Recommendations
Upgrade cedar-java to version 4.9.0 or later, where the issue with inverted null/self-reference logic in EntityIdentifier.equals() is fixed. No other mitigations are indicated. Patch status is not explicitly stated in the vendor advisory, but the fix is included in version 4.9.0.
CVE-2026-55771: CWE-94: Improper Control of Generation of Code ('Code Injection') in cedar-policy cedar-java
Description
CVE-2026-55771 is a high-severity vulnerability in cedar-java versions prior to 4.9.0. The EntityIdentifier.equals() method contains inverted logic for null and self-reference checks, causing incorrect equality comparisons. While this flaw does not impact Cedar authorization decisions computed in Rust, it may affect integrators relying on Java-side equality checks. The issue has been fixed in version 4.9.0.
CVSS v3.1
Score 8.8high
Affected software
pkg:maven/io.cedarpolicy/cedar-javaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in cedar-java (CVE-2026-55771) involves improper control of code generation (CWE-94) manifested as inverted null/self-reference logic in the EntityIdentifier.equals() method prior to version 4.9.0. This causes the method to return true when comparing to null and false when comparing an entity to itself, leading to incorrect equality evaluations. Although the core authorization logic in Cedar is unaffected, integrators performing their own equality checks on entity identifiers in Java could encounter erroneous behavior. The issue is resolved in cedar-java version 4.9.0.
Potential Impact
The vulnerability can cause incorrect equality comparisons in cedar-java integrations, potentially leading to logic errors in applications that rely on these checks. The core authorization decisions computed in Rust from JSON remain unaffected, so the primary security enforcement is not compromised. However, integrators using Java-side equality checks may experience unintended behavior, which could affect application correctness or security depending on usage context.
Mitigation Recommendations
Upgrade cedar-java to version 4.9.0 or later, where the issue with inverted null/self-reference logic in EntityIdentifier.equals() is fixed. No other mitigations are indicated. Patch status is not explicitly stated in the vendor advisory, but the fix is included in version 4.9.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-17T14:34:51.881Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a553d7068715ace43bb8a6f
Added to database: 07/13/2026, 19:33:04 UTC
Last enriched: 07/13/2026, 19:47:47 UTC
Last updated: 07/13/2026, 20:44:49 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.