{"id":"CVE-2025-61385","published":"2025-10-27T00:00:00Z","modified":"2025-10-28T15:19:57Z","title":"SQL injection vulnerability in tlocke pg8000 1.31.4 allows remote attackers to execute arbitrary SQL commands via a…","vendor":null,"product":null,"tier":"tail","description":{"text":"SQL injection vulnerability in tlocke pg8000 1.31.4 allows remote attackers to execute arbitrary SQL commands via a specially crafted Python list input to function pg8000.native.literal.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00363,"percentile":0.30937,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://codeberg.org/tlocke/pg8000/commit/8663c746b02286c32f19c385f0e2e5da9e4fa140","tags":[]},{"url":"https://github.com/bmcyver/vulnerability-research/tree/main/CVE-2025-61385","tags":[]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":6.19},{"name":"CVSS severity","points":6.72}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-28T13:27:24.107400Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pg8000","vulnerableRanges":["<1.31.5"],"patched":["1.31.5"],"from":["GHSA-wq2g-r956-j8cc","PYSEC-2026-1766"],"provenance":"source"}],"summary":{"text":"The SQL injection flaw lies in the pg8000 Python PostgreSQL driver (version 1.31.4, by tlocke), specifically in its pg8000.native.literal function. An attacker can exploit it by supplying a specially crafted Python list as input, which allows arbitrary SQL commands to be executed remotely, and exploitation requires user interaction, such as a victim processing the crafted input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:22Z"},"euvd":{"id":"EUVD-2025-36226","exploited":false,"provenance":"source"}}