Live threats

All CVEs / Pycsw

CVE-2016-8640Pycsw

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pycsw.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pycswpycsw< 1.8.6
pycswpycsw≥ 1.10.0 < 1.10.5
pycswpycsw≥ 2.0.0 < 2.0.2

Official sources

References

Links published by the sources. Open them with care.