Skip to content

CVE-2026-55773 CedarJava has a policy injection vulnerability

HighCVSS 8.8 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
com.cedarpolicy/cedar-java(Maven) < 2.3.6; = 2.3; = 2.3.3; = 2.3.4 +17 more 2.3.6, 3.4.1, 4.9.0 Fixed
cedar-policy cedar-java = < 2.3.6; = >= 3.1.2, < 3.4.1; = >= 4.0.0, < 4.9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
com.cedarpolicy/cedar-java(Maven) < 2.3.6 2.3.6
com.cedarpolicy/cedar-java(Maven) = 2.3 No fix listed
com.cedarpolicy/cedar-java(Maven) = 2.3.3 No fix listed
com.cedarpolicy/cedar-java(Maven) = 2.3.4 No fix listed
com.cedarpolicy/cedar-java(Maven) = 2.3.5 No fix listed
com.cedarpolicy/cedar-java(Maven) >= 3.1.2, < 3.4.1 3.4.1
com.cedarpolicy/cedar-java(Maven) = 3.1.2 No fix listed
com.cedarpolicy/cedar-java(Maven) = 3.2.0 No fix listed
com.cedarpolicy/cedar-java(Maven) = 3.2.5 No fix listed
com.cedarpolicy/cedar-java(Maven) = 3.3.0 No fix listed
com.cedarpolicy/cedar-java(Maven) = 3.4.0 No fix listed
com.cedarpolicy/cedar-java(Maven) >= 4.0.0, < 4.9.0 4.9.0
com.cedarpolicy/cedar-java(Maven) = 4.0.0 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.1.0 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.2.1 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.2.2 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.2.3 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.2.4 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.3.0 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.3.1 No fix listed
com.cedarpolicy/cedar-java(Maven) = 4.8.0 No fix listed
cedar-policy cedar-java = < 2.3.6 No fix listed
cedar-policy cedar-java = >= 3.1.2, < 3.4.1 No fix listed
cedar-policy cedar-java = >= 4.0.0, < 4.9.0 No fix listed

References