Intel

AIKIDO-2026-100021

boring-semantic-layer is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted Data Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

90

Critical Risk

This Affects:

PYTHONboring-semantic-layer
0.3.8 - 0.3.16
Fixed in 0.3.17
Are you affected? Scan for Free

TL;DR

The serialization codec rebuilds semantic layer resolver trees from tuples stored as xorq tag metadata on serialized expressions. Deserializing a callable reference imports the module named in the payload and uses the qualified name to get a callable that then runs when the expression is evaluated. A crafted reference such as builtins.eval lets untrusted serialized input import arbitrary modules, run import time side effects, and invoke chosen callables, leading to remote code execution. The fix validates callable module roots and qualified names on serialization and deserialization and re-checks the resolved object before it is used.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application deserializes semantic layer expressions or xorq tag metadata from an untrusted source.

Background info

boring-semantic-layer is vulnerable to Deserialization of Untrusted Data in versions 0.3.8 - 0.3.16.

How to fix this

Upgrade the boring-semantic-layer library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform