Skip to main content
← All vulnerabilities
CVE-2026-55773GHSA-QMCH-V2Q9-WG4P

CedarJava has a policy injection vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.6, 3.4.1, 4.9.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 2.3.6, 3.4.1 and 4.9.0, under certain circumstances, improper input handling could allow Cedar-expression injection via unescaped toCedarExpr(). The toCedarExpr() method on Cedar Value types does not escape special characters (" or \) when converting values to Cedar source code. If an integrator uses toCedarExpr() to build policy text at runtime from user-controlled values, an actor could inject arbitrary Cedar expressions. For example, injecting || true into a permit ... when { ... } clause could make the permit unconditional, or injecting && false into a forbid clause could prevent the forbid from triggering. This issue requires the integrator to use toCedarExpr() to build policy text at runtime from user-controlled input. This vulnerability has been fixed in versions 2.3.6, 3.4.1, and 4.9.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • cedar-policy cedar-java

    fixed in 2.3.6; From 3.1.2 · fixed in 3.4.1; From 4.0.0 · fixed in 4.9.0

  • com.cedarpolicy:cedar-javaMaven

    fixed in 2.3.6

  • com.cedarpolicy:cedar-javaMaven

    From 3.1.2 · fixed in 3.4.1

  • com.cedarpolicy:cedar-javaMaven

    From 4.0.0 · fixed in 4.9.0

References 1

GitHub · cedar-policy/cedar-java