Context-Inappropriate Capability
High
- Confidence
- 99% confidence
- Finding
- The code unpickles data from a cache file derived directly from a user-supplied input path using pickle.load(), which can execute arbitrary code during deserialization. Because the cache is trusted based only on file existence and modification time, an attacker who can place or replace the .cache file can achieve code execution when the script runs. In this graph-dispatch context, pickle is unnecessary for core functionality, so this capability is unrelated and especially risky.
