Intel

AIKIDO-2026-10465

github.com/cedar-policy/cedar-go is vulnerable to Access of Resource Using Incompatible Type ('Type Confusion')

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 9, 2026
April 9, 2026

81

CVE Score

High

Access of Resource Using Incompatible Type ('Type Confusion')

Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by a type confusion vulnerability in the cedar-go JSON value parser, where JSON objects containing string-valued type and id keys are incorrectly parsed as EntityUID values instead of Record objects, silently dropping all other fields. Because this coercion happens recursively across nested values, Cedar policies that expect record fields may instead evaluate unexpected EntityUID objects, causing expressions to fail and authorization decisions to be computed incorrectly. An attacker able to supply JSON entity data, context, or nested record values can craft objects with type and id keys to strip security-relevant fields during parsing and trigger policy mis-evaluation, potentially bypassing intended authorization checks.

How do I fix this?

Upgrade the github.com/cedar-policy/cedar-go library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.2.0 - 1.5.2

Fixed in 1.6.0

Background info

github.com/cedar-policy/cedar-go is vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') in versions 0.2.0 - 1.5.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea