CVE-2016-8640
CRITICAL 9.1CVSS 3.0SQL Injection in pycsw
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.
- Published
- 1 Aug 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-hg4c-rgvm-964gPYSEC-2018-98
- Sources
- NVDJSONOSV GHSA-hg4c-rgvm-964gJSONOSV PYSEC-2018-98JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pycsw | pycswcpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:* |
< 1.8.6 | 1.8.6 |
| NVD | pycsw | pycswcpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:* |
>= 1.10.0, < 1.10.5 | 1.10.5 |
| NVD | pycsw | pycswcpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.2 | 2.0.2 |
| OSV | PyPI | pycsw | >= 2.0.0, < 2.0.2 | 2.0.2 |
| OSV | PyPI | pycsw | < 1.8.6 | 1.8.6 |
| OSV | PyPI | pycsw | >= 1.10.0, < 1.10.5 | 1.10.5 |
| OSV | PyPI | pycsw | < 1.8.6; >= 1.10.0, < 1.10.5; >= 2.0.0, < 2.0.2 | 1.8.6, 1.10.5, 2.0.2 |
References
- http://seclists.org/oss-sec/2016/q4/406 · Mailing List, Patch, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/94302 · Third Party Advisory, VDB Entry, WEB
- https://github.com/geopython/pycsw/pull/474/files · Patch, Third Party Advisory, WEB
- https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-8640 · ADVISORY
- https://github.com/geopython/pycsw/commit/522873e5ce48bb9cbd4e7e8168ca881ce709c222 · WEB
- https://github.com/geopython/pycsw/commit/69546e13527c82e4f9191769215490381ad511b2 · WEB
- https://github.com/geopython/pycsw/commit/daaf09b4b920708a415be3c7f446739661ba3753 · WEB
- https://github.com/advisories/GHSA-hg4c-rgvm-964g · ADVISORY
- https://github.com/geopython/pycsw · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pycsw/PYSEC-2018-98.yaml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 1 Aug 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Aug 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Aug 2018)