CVE-2023-39661
Python vulnerability analysis and mitigation

Overview

An issue in pandas-ai v.0.9.1 and before allows a remote attacker to execute arbitrary code via the isjailbreak function (NVD). The vulnerability was discovered and disclosed on August 15, 2023, affecting the Python package pandas-ai up to version 0.9.1.

Technical details

The vulnerability exists in the isjailbreak function's input validation mechanism. The original fix implemented to address a previous remote code execution vulnerability (issue #399) could be bypassed by replacing builtins['str'] with an empty string (''), allowing attackers to still achieve arbitrary code execution. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

A successful exploitation of this vulnerability allows remote attackers to execute arbitrary code on the target system. This could lead to complete system compromise, including unauthorized access to sensitive data, system modifications, and potential further network penetration (NVD).

Mitigation and workarounds

Users are advised to upgrade to pandas-ai versions after 0.9.1 which contain the fix for this vulnerability. No specific workarounds have been published for users who cannot immediately upgrade (NVD).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management