Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIntegrator uses EntityIdentifier.equals() in auth logic
-
DeliveryAttacker submits crafted entity identifier (or null)
-
ExploitInverted equals() returns wrong boolean
-
ExecutionIntegrator's secondary access check decides incorrectly
-
ImpactAuthorization inconsistency or bypass in application
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a downstream integrator to call EntityIdentifier.equals() (directly or via Java collection operations like contains/HashSet/HashMap) on cedar-java entity identifiers within security-relevant logic; the flaw is inert for anyone who relies solely on Cedar's native authorization decisions, which are computed in Rust from JSON and are explicitly unaffected. The concrete trigger is the inverted comparison: passing null returns true and comparing an object to itself returns false. Limiting factors are significant - this is a non-default code path (the application must use equals() for trust decisions), the vulnerable versions are strictly before 4.9.0, and there is no code-injection or RCE vector despite the CWE-94/RCE tags. Exploitability therefore hinges on application-specific integration patterns rather than any inherent remote-attack surface of the library. |
| Impact | The signals here conflict sharply and the raw CVSS 8.8 should not be taken at face value. The provided vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, the CWE-94 'Code Injection' mapping, and the 'RCE / Code Injection' tags all imply remote code execution, but the description explicitly states this is an inverted equals() logic bug that does NOT affect Cedar authorization decisions and only impacts integrators performing their own equality checks - there is no code-injection or RCE mechanism described. This is a classic high-CVSS/low-real-world-risk case: real impact is bounded by whether a downstream integrator relies on EntityIdentifier.equals() for a security-relevant comparison, which is a non-default, application-specific condition. There is no KEV listing, no EPSS score provided, and no evidence of a public POC, so exploitation appears theoretical rather than active. Bottom line: for most deployments this is a correctness/hardening fix, not an emergency; priority rises only for integrators whose custom Java authorization logic compares entity identifiers. Verify with the vendor advisory - the CWE-94/RCE framing appears to be an inaccurate or overly conservative classification that contradicts the technical description. |
| Exploit ScenarioDerived | An integrator builds a Java service on cedar-java that, after Cedar returns a decision, performs a secondary check comparing a request's EntityIdentifier against an allow/deny reference using equals(). Because self-comparison wrongly returns false (and null wrongly returns true), the custom check yields an incorrect result - potentially treating a legitimate match as a mismatch, or a null value as equal - leading to an authorization inconsistency in that integrator's logic. No public POC is identified, and exploitation depends entirely on the integrator's own comparison code path rather than on Cedar's core engine. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
Incorrect equality comparison in CedarJava (cedar-java) versions before 4.9.0 causes EntityIdentifier.equals() to return true when comparing against null and false when comparing an object to itself, due to inverted null/self-reference branches. Cedar's actual authorization decisions are unaffected because they are computed in Rust from JSON, but integrators who call equals() on entity identifiers in their own Java logic may make incorrect trust or access decisions. No public exploit identified at time of analysis; the issue is fixed in 4.9.0.
RemediationAI
Upgrade cedar-java to version 4.9.0 or later, which corrects the inverted null/self branches in EntityIdentifier.equals() (Vendor-released patch: 4.9.0); this is the primary and definitive fix per GitHub Security Advisory GHSA-4r9r-4425-74p7 (https://github.com/cedar-policy/cedar-java/security/advisories/GHSA-4r9r-4425-74p7). If an immediate upgrade is not possible, integrators should audit their code for any use of EntityIdentifier.equals() (including implicit uses in collections such as HashSet/HashMap keys, contains(), or list comparisons) and avoid relying on it for security-relevant comparisons - instead compare the underlying identifier string values directly, which sidesteps the inverted logic. The trade-off of that workaround is added application-side code and the need to ensure no third-party dependency internally calls the flawed equals(); it is a stopgap only, so schedule the 4.9.0 upgrade as the durable remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CedarJava is the Java binding for Cedar, an open-source authorization policy language (developed by AWS/cedar-policy) used for fine-grained access control; the CPE cpe:2.3:a:cedar-policy:cedar-java:*:* confirms the affected component is the cedar-java library itself. The defect lives in the EntityIdentifier class's overridden equals(Object) method, where the standard Java contract (an object equals itself, and never equals null) is inverted - the null-check and self-reference branches are swapped, so o this returns false and o null returns true. Although the input labels this CWE-94 (Code Injection), that classification is inconsistent with the described behavior; the true root cause is an incorrect equality/comparison logic error (closer to CWE-697 'Incorrect Comparison' or CWE-595 'Comparison of Object References Instead of Object Contents'). Because Cedar's policy evaluation happens in a Rust engine consuming JSON, the flawed Java equals() only matters in code paths where a Java integrator directly compares EntityIdentifier objects.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Impact only manifests in non-default integrator code that uses equals() for trust decisions (AC:H); it yields incorrect comparisons affecting integrity with minor confidentiality, no availability or RCE.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
cedar-java versions before 4.9.0 contain a logic defect in entity identifier comparison that may cause incorrect authorization decisions if developers use this method in custom access control logic. While Cedar's core authorization engine remains unaffected and no public exploit has been identified, this defect creates a material risk of authorization bypass in integrating applications. Organizations should audit custom authorization code immediately and upgrade to cedar-java 4.9.0.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-43524
GHSA-4r9r-4425-74p7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB