---
id: CVE-2026-2970
aliases:
  - GHSA-hg58-x52p-859c
  - PYSEC-2026-2438
title: datapizza-ai has unsafe deserialization via pickle.loads() in RedisCache
summary: datapizza-ai has unsafe deserialization via pickle.loads() in RedisCache
severity: medium
cvss: 4.6
cvssVector: 'CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: datapizza-ai-core
product: datapizza-ai-core
ecosystem: pip
affected:
  - datapizza-ai-core <= 0.0.7
published: '2026-02-23'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hg58-x52p-859c'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-2970'
  - url: 'https://github.com/datapizza-labs/datapizza-ai'
  - url: >-
      https://github.com/hacktivesec/datapizza-ai-disclosure/blob/main/unsafe-deserialization.md
  - url: 'https://vuldb.com/?ctiid.347337'
  - url: 'https://vuldb.com/?id.347337'
  - url: 'https://vuldb.com/?submit.755363'
tags:
  - osv
  - pip
epss: 0.0073
epssPercentile: 0.52844
ingestedAt: '2026-07-13T18:57:59.145Z'
---

## Overview

A vulnerability has been found in datapizza-labs datapizza-ai 0.0.7. Affected by this vulnerability is the function RedisCache of the file datapizza-ai-cache/redis/datapizza/cache/redis/cache.py. Such manipulation leads to deserialization. The attack requires being on the local network. A high complexity level is associated with this attack. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

## Affected packages

- `datapizza-ai-core <= 0.0.7`

## Remediation

Refer to the advisory for the patched release.
