CVE-2026-55773: cedar-policy CedarJava expression injection in toCedarExpr

CVE-2026-55773 · Severity: high · CVSS 8.8 · Published 2026-07-13

CedarJava is a library used to manage fine-grained access control and authorization policies. A vulnerability in how it handles user input allows attackers to inject malicious code into security policies. This could allow an attacker to bypass security restrictions, granting themselves unauthorized access to sensitive data or preventing legitimate security rules from being enforced.

Technologies: Cedar Policy Cedar-Java, com.cedarpolicy:cedar-java (Maven). Vendors: Cedar Policy, Maven.

Quick answers

Is CVE-2026-55773 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-55773 being exploited in the wild.
How severe is CVE-2026-55773?
High severity, with a CVSS score of 8.8, published 13 July 2026.
Which products and versions are affected?
Cedar Policy Cedar-Java < 2.3.6, >= 3.1.2 < 3.4.1, >= 4.0.0 < 4.9.0; com.cedarpolicy:cedar-java (Maven) ECOSYSTEM:introduced=0,fixed=2.3.6.
Is there a fix for CVE-2026-55773?
Yes. com.cedarpolicy:cedar-java (Maven): upgrade to 2.3.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-55773 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-55773?
Check whether you run Cedar Policy Cedar-Java or com.cedarpolicy:cedar-java (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • com.cedarpolicy:cedar-java (Maven): upgrade to 2.3.6 or later
    # set com.cedarpolicy:cedar-java to 2.3.6 in your pom.xml or build.gradle

Technical details

A code injection vulnerability (CWE-94) exists in CedarJava's toCedarExpr() method. The method fails to properly escape special characters, specifically double quotes (") and backslashes (\), when converting Cedar Value types into Cedar source code. If an application uses this method to dynamically construct policy text using user-provided input, an attacker can inject arbitrary Cedar expressions. For example, an attacker could append '|| true' to a permit clause to make it unconditional or '&& false' to a forbid clause to disable it. The vulnerability is reachable over the network if the application exposes policy-generation features to users. Patches are available in versions 2.3.6, 3.4.1, and 4.9.0.

Affected products

  • cedar-policy cedar-java < 2.3.6, >= 3.1.2 < 3.4.1, >= 4.0.0 < 4.9.0

Identifiers

  • CVE-2026-55773
  • GHSA-qmch-v2q9-wg4p

Timeline

  • 2026-06-18: advisory: Original GitHub advisory published
  • 2026-07-13: disclosed: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.