Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-55771: CWE-94: Improper Control of Generation of Code ('Code Injection') in cedar-policy cedar-java

0
High
VulnerabilityCVE-2026-55771cvecve-2026-55771cwe-94cwe-697cwe-843
Published: 07/13/2026 (07/13/2026, 19:28:00 UTC)
Source: CVE Database V5
Vendor/Project: cedar-policy
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

io.cedarpolicy/cedar-java
pkg:maven/io.cedarpolicy/cedar-java
Affected versions
<4.9.0

Run 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

AILast updated: 07/13/2026, 19:47:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses