Intel

AIKIDO-2026-33194

anyconfig is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted DataGHSA-43x6-c43p-8w8w Published 5 days ago

84

High Risk

This Affects:

PYTHONanyconfig
0.0.1 - 0.15.1
Fixed in 0.16.0
Are you affected? Scan for Free

TL;DR

anyconfig selects a backend parser from a file's extension when no explicit parser is passed to load, loads, or open. The default backends include a pickle parser registered for the .pkl and .pickle extensions that deserializes input with pickle.load and pickle.loads. Loading a file whose path or extension is influenced by untrusted input routes to pickle deserialization and can execute arbitrary code. The fix removes and unregisters the pickle backend so extension-based auto-detection can no longer reach a code-executing deserializer.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application loads a file whose name or extension can be influenced by untrusted input.

Background info

anyconfig is vulnerable to Deserialization of Untrusted Data in versions 0.0.1 - 0.15.1.

How to fix this

Upgrade the anyconfig library to the patch version.