{"id":"CVE-2026-42031","published":"2026-05-13T18:52:35Z","modified":"2026-05-15T19:15:58Z","title":"CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`","vendor":"ckan","product":"ckan","tier":"core","eol":null,"affectedVersions":[{"vendor":"ckan","product":"ckan","versions":[">= 2.11.0, < 2.11.5","< 2.10.10"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-15T19:12:40.399836Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"CKAN, an open-source data management system for data hubs and portals, contains an SQL injection flaw in its datastore_search_sql function that allows attackers to inject SQL and gain access to private resources and PostgreSQL system information. An unauthenticated remote attacker over the network can exploit it, with no user interaction required, though the attack is noted as requiring specific conditions (attack requirements) to succeed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:53Z"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02188,"percentile":0.83116,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-10","exploitedFirstSeen":"2026-09-10","ransomware":false,"evidence":[{"url":"https://previdian.com/CVE-2026-42031","date":"2026-09-10"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":7,"pulses":[{"name":"Known_Cve | May 22, 2026","url":"https://otx.alienvault.com/pulse/6a0f13fd08d4602f56683eec","created":"2026-05-21"},{"name":"Known_Cve | May 21, 2026","url":"https://otx.alienvault.com/pulse/6a0dc2491bcde0bdb3d7e14e","created":"2026-05-20"},{"name":"Known_Cve | May 20, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a0c70e0012db9b5d3f1491b","created":"2026-05-19"},{"name":"Known_Cve | May 19, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a0b1fb13f83c21729d9156a","created":"2026-05-18"},{"name":"Known_Cve | May 18, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a09cd588d4c1cca2886f0d1","created":"2026-05-17"},{"name":"Known_Cve | May 17, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a087bdcf5d6f8e5402ce221","created":"2026-05-16"},{"name":"CVE Research 2026","url":"https://otx.alienvault.com/pulse/69b1e183a12a96a0f1df32cf","created":"2026-03-11"}],"provenance":"machine"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"ckan","vulnerableRanges":["<2.10.10",">=2.11.0, <2.11.5"],"patched":["2.10.10","2.11.5"],"from":["GHSA-h7j7-3rx6-xvcg","PYSEC-2026-2417"],"provenance":"source"}],"advisories":[{"id":"GHSA-h7j7-3rx6-xvcg","url":"https://github.com/advisories/GHSA-h7j7-3rx6-xvcg","severity":"HIGH","ecosystem":"PyPI","package":"ckan","vulnerableRanges":["<2.10.10"],"patched":["2.10.10"],"provenance":"source","from":"GHSA"},{"id":"GHSA-h7j7-3rx6-xvcg","url":"https://github.com/advisories/GHSA-h7j7-3rx6-xvcg","severity":"HIGH","ecosystem":"PyPI","package":"ckan","vulnerableRanges":[">=2.11.0, <2.11.5"],"patched":["2.11.5"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-30118","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-30118","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-07","earliestUrl":"https://github.com/ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner","repos":[{"name":"ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner","url":"https://github.com/ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner","stars":1,"created":"2026-09-07"}]},"nuclei":[{"id":"CVE-2026-42031","name":"CKAN DataStore SQL Search - SQL Injection","severity":"high","path":"http/cves/2026/CVE-2026-42031.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42031.yaml"}],"first":{"date":"2026-09-07","source":"PoC-in-GitHub","url":"https://github.com/ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-05-13","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-42031","provenance":"source"},{"date":"2026-09-07","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner","provenance":"source"},{"date":"2026-09-10","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://previdian.com/CVE-2026-42031","provenance":"source"}],"speed":{"daysToPublicExploit":117,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":74.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 76 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":16.62,"detail":"percentile 0.8312"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.05,"detail":"7 pulses"},{"name":"CVSS severity","points":5.81,"detail":"base score 8.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}