CVE-2016-8640Pycsw
Critical 9.1 No auth needed
Follow: this CVE · Pycsw · Pycsw We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.0
- 9.1
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Aug 1, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pycsw.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pycsw |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
pip install "pycsw>=2.0.2" |
| PyPI | pycsw |
< 1.8.6 |
1.8.6 |
pip install "pycsw>=1.8.6" |
| PyPI | pycsw |
≥ 1.10.0 < 1.10.5 |
1.10.5 |
pip install "pycsw>=1.10.5" |
| PyPI | pycsw |
< 1.8.6 |
1.8.6 |
pip install "pycsw>=1.8.6" |
| PyPI | pycsw |
≥ 1.10.0 < 1.10.5 |
1.10.5 |
pip install "pycsw>=1.10.5" |
| PyPI | pycsw |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
pip install "pycsw>=2.0.2" |
Per OSV / GitHub Advisories (GHSA-hg4c-rgvm-964g, PYSEC-2018-98). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pycsw | pycsw | < 1.8.6 |
| pycsw | pycsw | ≥ 1.10.0 < 1.10.5 |
| pycsw | pycsw | ≥ 2.0.0 < 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Patch Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Patch Third Party Advisory
- patch-diff.githubusercontent.com Patch Third Party Advisory