Skip to content
Fencer Vulns
critical 9.1

CVE-2016-8640 json

SQL Injection in pycsw

published 2018-08-01 8 y ago modified 2026-06-17 4 mo ago also GHSA-hg4c-rgvm-964g , PYSEC-2018-98 , EUVD-2018-0121

cvss
9.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

A SQL injection vulnerability in pycsw all versions before 2.0.2, 1.10.5 and 1.8.6 that leads to read and extract of any data from any table in the pycsw database that the database user has access to. Also on PostgreSQL (at least) it is possible to perform updates/inserts/deletes and database modifications to any table the database user has access to.

Patch / fix

  • pypi pycsw 1.8.6, 1.10.5, 2.0.2
  • pycsw pycsw 1.8.6, 1.10.5, 2.0.2
  • pycsw Debian 14, Debian 13, Debian 12 2.0.2+dfsg-1

debian advisories DEBIAN-CVE-2016-8640

Exploit prediction

2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.0 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi pycsw
>=2.0.0, <2.0.2
<1.8.6
>=1.10.0, <1.10.5
2.0.2
1.8.6
1.10.5

Affected products

  • https://github.com/geopython pycsw

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns 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.