Categories
CVE-2026-55773 high CVSS 8.8

Code Injection in com.cedarpolicy:cedar-java (CVE-2026-55773)

Summary

Code injection in com.cedarpolicy:cedar-java (CVE-2026-55773). Successful exploitation can lead to full system takeover. Exploitable via forbid. Mitigation: upgrade to 4.9.0 or later.

Original description

The description as published by the source.

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.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-55773 has been found in com.cedarpolicy:cedar-java.
Attackers can target a specific entry point like forbid over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 8.8/10.
What to do: upgrade com.cedarpolicy:cedar-java to 4.9.0 or later.
If unsure, ask your IT team or search "com.cedarpolicy:cedar-java CVE-2026-55773" on the vendor's site.

CVE-2026-55773 (com.cedarpolicy:cedar-java) — CWE-94 / CVSS v3 8.8
Attack vector: remote (network-reachable) / no user interaction
Attack surface: forbid
Patched: 4.9.0 — apply immediately
Workaround: Validate and sanitize all user-supplied input before passing it to toCedarExpr().
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

Arbitrary code execution (CWE-94) exists in com.cedarpolicy:cedar-java. Attackers reach the vulnerable code path via forbid.

📍 Affected scope

Check the vendor advisory for the affected versions of com.cedarpolicy:cedar-java. Attack surface: forbid.

🔥 Severity

Severity: High (CVSS 8.8/10). Successful exploitation can lead to full system takeover.

🔧 How to fix

Update to 4.9.0.

🛡️ Workaround

Workaround: Validate and sanitize all user-supplied input before passing it to toCedarExpr().

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで com.cedarpolicy:cedar-java を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply temporary workaround mitigate
    Validate and sanitize all user-supplied input before passing it to `toCedarExpr()`.

    パッチが適用されるまでの応急処置として、Validate and sanitize all user-supplied input before passing it to toCedarExpr(). を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade com.cedarpolicy:cedar-java to 4.9.0

    ステージング環境で 4.9.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

maven com.cedarpolicy:cedar-java
[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.9.0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details