CVE-2026-30273: pandas-ai · SQL Injection
Affects pandas-aiSource CVE Database V5
Not known to be exploited · CVSS 7.3 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpandas-aipkg:pypi/pandas-aiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-30273, organizations should first monitor for official patches or updates from the pandas-ai maintainers and apply them promptly once released. In the absence of patches, developers should audit and refactor any code invoking pandasai.agent.base._execute_sql_query to ensure strict input validation and sanitization. Employing parameterized queries or prepared statements is critical to prevent SQL injection. Restrict database user privileges to the minimum necessary to limit the impact of any successful injection. Implement network-level protections such as web application firewalls (WAFs) with SQL injection detection rules tailored to the environment. Conduct thorough code reviews and penetration testing focused on SQL injection vectors within AI and data processing pipelines. Additionally, consider isolating vulnerable components in segmented environments to reduce exposure. Maintain robust logging and monitoring to detect suspicious query patterns indicative of exploitation attempts.
Description
pandas-ai v3.0.0 was discovered to contain a SQL injection vulnerability via the pandasai.agent.base._execute_sql_query component.