{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42031","id":"CVE-2026-42031","title":"CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`","description":"CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, a vulnerability in datastore_search_sql allowed attackers to inject SQL in order to gain access to private resources and PostgreSQL system information This vulnerability is fixed in 2.10.10 and 2.11.5.","descriptionLong":"CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, a vulnerability in datastore_search_sql allowed attackers to inject SQL in order to gain access to private resources and PostgreSQL system information This vulnerability is fixed in 2.10.10 and 2.11.5.","published":"2026-05-13T18:52:35.383Z","updated":"2026-11-13T02:31:03.396363566Z","reserved":"2026-04-23T16:05:01.708Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"high","products":["ckan"],"affectedProducts":[{"vendor":"ckan","product":"ckan","defaultStatus":null,"versions":[{"version":">= 2.11.0, < 2.11.5","status":"affected"},{"version":"< 2.10.10","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ckan","purl":"pkg:pypi/ckan","ranges":["<2.10.10",">=2.11.0 <2.11.5"],"fixed":["2.10.10","2.11.5"],"advisory":"GHSA-h7j7-3rx6-xvcg"}],"cwes":["CWE-89","CWE-863"],"aliases":["GHSA-h7j7-3rx6-xvcg","PYSEC-2026-2417"],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42031.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42031","tags":["advisory"]},{"url":"https://docs.ckan.org/en/2.10/changelog.html#v-2-10-10-2026-04-29","tags":["web"]},{"url":"https://docs.ckan.org/en/2.11/changelog.html#v-2-11-5-2026-04-29","tags":["web"]},{"url":"https://docs.ckan.org/en/2.11/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IAuthFunctions","tags":["web"]},{"url":"https://docs.ckan.org/en/2.11/maintaining/configuration.html#ckan-datastore-sqlsearch-enabled","tags":["web"]},{"url":"https://github.com/ckan/ckan","tags":["package"]},{"url":"https://pypi.org/project/ckan","tags":["package"]},{"url":"https://github.com/advisories/GHSA-h7j7-3rx6-xvcg","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01817,"epssPercentile":0.7923,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42031","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42031","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42031","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h7j7-3rx6-xvcg","ok":true,"note":"GHSA-h7j7-3rx6-xvcg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42031","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}