{"cve":"CVE-2016-8640","nvd":{"published":"2018-08-01T18:29:00.220","modified":"2026-06-17T00:54:39.860","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-89"],"references":["http://seclists.org/oss-sec/2016/q4/406","http://www.securityfocus.com/bid/94302","https://github.com/geopython/pycsw/pull/474/files","https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch","http://seclists.org/oss-sec/2016/q4/406"],"products":["pycsw:pycsw"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2016-8640","score":0.02306,"percentile":0.83349,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hg4c-rgvm-964g","url":"https://osv.dev/vulnerability/GHSA-hg4c-rgvm-964g","summary":"SQL Injection in pycsw","modified":"2026-06-09T13:00:02Z","packages":[{"ecosystem":"PyPI","name":"pycsw","purl":"pkg:pypi/pycsw","ranges":[">=2.0.0 <2.0.2"],"fixed":["2.0.2"]},{"ecosystem":"PyPI","name":"pycsw","purl":"pkg:pypi/pycsw","ranges":["<1.8.6"],"fixed":["1.8.6"]},{"ecosystem":"PyPI","name":"pycsw","purl":"pkg:pypi/pycsw","ranges":[">=1.10.0 <1.10.5"],"fixed":["1.10.5"]}]},{"id":"PYSEC-2018-98","url":"https://osv.dev/vulnerability/PYSEC-2018-98","summary":"","modified":"2026-06-08T11:15:04.238169387Z","packages":[{"ecosystem":"PyPI","name":"pycsw","purl":"pkg:pypi/pycsw","ranges":["<1.8.6",">=1.10.0 <1.10.5",">=2.0.0 <2.0.2"],"fixed":["1.8.6","1.10.5","2.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}