GHSA-qmch-v2q9-wg4p

Suggest an improvement
Source
https://github.com/advisories/GHSA-qmch-v2q9-wg4p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-qmch-v2q9-wg4p/GHSA-qmch-v2q9-wg4p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qmch-v2q9-wg4p
Aliases
  • CVE-2026-55773
Published
2026-06-19T14:39:25Z
Modified
2026-06-19T14:45:21.642113757Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CedarJava has policy injection vulnerability
Details

Summary

CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. Under certain circumstances, improper input handling could allow policy injection.

Impact

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.

Impacted versions:

< 4.9

Patches

Addressed in CedarJava version 2.3.6, 3.4.1, and 4.9 and above. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds

Validate and sanitize all user-supplied input before passing it to toCedarExpr(). Avoid building policy text at runtime from user-controlled values.

References

If you have any questions or comments about this advisory, we ask that you contact us directly via email to cedar-policy-security@lists.cncf.io. Please do not create a public GitHub issue.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2026-06-19T14:39:25Z",
    "github_reviewed": true,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

Maven / com.cedarpolicy:cedar-java

Package

Name
com.cedarpolicy:cedar-java
View open source insights on deps.dev
Purl
pkg:maven/com.cedarpolicy/cedar-java

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.6

Affected versions

2.*
2.3
2.3.3
2.3.4
2.3.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-qmch-v2q9-wg4p/GHSA-qmch-v2q9-wg4p.json"

Maven / com.cedarpolicy:cedar-java

Package

Name
com.cedarpolicy:cedar-java
View open source insights on deps.dev
Purl
pkg:maven/com.cedarpolicy/cedar-java

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.2
Fixed
3.4.1

Affected versions

3.*
3.1.2
3.2.0
3.2.5
3.3.0
3.4.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-qmch-v2q9-wg4p/GHSA-qmch-v2q9-wg4p.json"

Maven / com.cedarpolicy:cedar-java

Package

Name
com.cedarpolicy:cedar-java
View open source insights on deps.dev
Purl
pkg:maven/com.cedarpolicy/cedar-java

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.9.0

Affected versions

4.*
4.0.0
4.1.0
4.2.1
4.2.2
4.2.3
4.2.4
4.3.0
4.3.1
4.8.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-qmch-v2q9-wg4p/GHSA-qmch-v2q9-wg4p.json"