Intel

AIKIDO-2026-610076

DynamicExpresso.Core is vulnerable to Unsafe Reflection

GHSA-v37m-7mgv-vwv9Published Oct 6, 2026
October 6, 2026

88

CVE Score

High

Unsafe Reflection

Are you affected? Scan for Free

TL;DR

DynamicExpresso enforces a default reflection restriction through DisableReflectionVisitor, but lambda bodies are parsed by a second, internally-created Interpreter that never receives this visitor. An expression that uses InterpreterOptions.LambdaExpressions together with a dynamic parameter (LateBindObject or an IDynamicMetaObjectProvider value such as ExpandoObject) can therefore reach arbitrary reflection and OS command execution from inside a lambda, even though the identical expression is blocked at the top level. The fix moves visitor registration from the Interpreter instance into the shared, cloned ParserSettings, so lambda and nested-lambda parsing keep DisableReflectionVisitor enforced by default.

How do I fix this?

Upgrade the DynamicExpresso.Core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable InterpreterOptions.LambdaExpressions with a dynamic value such as LateBindObject or an IDynamicMetaObjectProvider parameter.

Versions

2.9.0 - 2.19.5

Fixed in 2.19.6

Background info

DynamicExpresso.Core is vulnerable to Unsafe Reflection in versions 2.9.0 - 2.19.5.

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