Skip to main content
VulnerabilityPublished

CVE-2026-30273: pandas-ai · SQL Injection

Affects pandas-aiSource CVE Database V5

0

Not known to be exploited · CVSS 7.3 High.

Data as of 26 Oct 2026, 09:16 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIpandas-aipkg:pypi/pandas-aiOther threatsAffected
  • =3.0.0
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.

References

Community reviews

Loading reviews…