{"answers":{"affected":"6 open source packages ship an affected version, including com.cedarpolicy:cedar-java.","exploited":"There is no known exploitation of CVE-2026-55773 in the wild and no public exploit code.","fix":"Upgrade com.cedarpolicy:cedar-java to a fixed version for your release line: 2.3.6, 3.4.1 or 4.9.0.","what":"CVE-2026-55773 is a high-severity code injection vulnerability in cedar-policy cedar-java, published on 13 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55773 and fix it if it is affected.\n\nWhat it is: CVE-2026-55773 is a high-severity code injection vulnerability in cedar-policy cedar-java, published on 13 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55773 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.cedarpolicy:cedar-java (Maven): affected all versions; fixed in 2.3.6\n- com.cedarpolicy:cedar-java (Maven): affected all versions; fixed in 2.3.6\n- com.cedarpolicy:cedar-java (Maven): affected from 3.1.2; fixed in 3.4.1\n- com.cedarpolicy:cedar-java (Maven): affected from 3.1.2; fixed in 3.4.1\n- com.cedarpolicy:cedar-java (Maven): affected from 4.0.0; fixed in 4.9.0\n- com.cedarpolicy:cedar-java (Maven): affected from 4.0.0; fixed in 4.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55773/ (Markdown: https://insights.sbomify.com/CVE-2026-55773/index.md)","id":"CVE-2026-55773","markdown":"https://insights.sbomify.com/CVE-2026-55773/index.md","name":"CVE-2026-55773","record":{"aliases":["GHSA-qmch-v2q9-wg4p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java authorization library","requires_auth":"low_privilege","summary":"Attackers can inject arbitrary Cedar policy expressions via unescaped values, potentially bypassing authorization checks in applications using the library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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 \u0026\u0026 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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"CedarJava has a policy injection vulnerability","id":"CVE-2026-55773","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"OpenBao: Cross-namespace lease revocation/renewal via canonical sys/leases/{revoke,renew} — incomplete fix of CVE-2026-45808","id":"CVE-2026-55774"},"packages":[{"ecosystem":"Maven","fixed":["2.3.6"],"introduced":["0"],"last_affected":[],"package":"com.cedarpolicy:cedar-java","purl":null,"source":"GHSA-qmch-v2q9-wg4p"},{"ecosystem":"Maven","fixed":["2.3.6"],"introduced":["0"],"last_affected":[],"package":"com.cedarpolicy:cedar-java","purl":"pkg:maven/com.cedarpolicy/cedar-java","source":"GHSA-qmch-v2q9-wg4p"},{"ecosystem":"Maven","fixed":["3.4.1"],"introduced":["3.1.2"],"last_affected":[],"package":"com.cedarpolicy:cedar-java","purl":null,"source":"GHSA-qmch-v2q9-wg4p"},{"ecosystem":"Maven","fixed":["3.4.1"],"introduced":["3.1.2"],"last_affected":[],"package":"com.cedarpolicy:cedar-java","purl":"pkg:maven/com.cedarpolicy/cedar-java","source":"GHSA-qmch-v2q9-wg4p"},{"ecosystem":"Maven","fixed":["4.9.0"],"introduced":["4.0.0"],"last_affected":[],"package":"com.cedarpolicy:cedar-java","purl":null,"source":"GHSA-qmch-v2q9-wg4p"},{"ecosystem":"Maven","fixed":["4.9.0"],"introduced":["4.0.0"],"last_affected":[],"package":"com.cedarpolicy:cedar-java","purl":"pkg:maven/com.cedarpolicy/cedar-java","source":"GHSA-qmch-v2q9-wg4p"}],"prev":{"headline":"CedarJava has a type confusion vulnerability","id":"CVE-2026-55772"},"products":["cedar-java"],"published":"2026-07-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["cedar-policy"]},"summary":"Attackers can inject arbitrary Cedar policy expressions via unescaped values, potentially bypassing authorization checks in applications using the library.","url":"https://insights.sbomify.com/CVE-2026-55773/"}