CVE-2025-61385 json
pg8000 SQL injection vulnerability via a specially crafted Python list input
published last yr. modified 4d ago also GHSA-wq2g-r956-j8cc , PYSEC-2026-1766 , EUVD-2025-36226
- cvss
- 9.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2025-61385 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| CNA | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pg8000 | <1.31.5 |
1.31.5 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
codeberg.org
/tlocke/pg8000/commit/8663c746b02286c32f19c385f0e2e5da9e4fa140
web
-
github.com
/bmcyver/vulnerability-research/tree/main/CVE-2025-61385
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-61385
advisory
-
codeberg.org
/tlocke/pg8000
package
-
pypi.org
/project/pg8000
package
-
github.com
/advisories/GHSA-wq2g-r956-j8cc
advisory
Sources
- CVE List CVE-2025-61385
- GitHub Advisory GHSA-wq2g-r956-j8cc
- NVD CVE-2025-61385
- OSV PYSEC-2026-1766
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.