{
  "id": "CVE-2026-42031",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42031",
  "published_at": "2026-05-13T18:52:35.383Z",
  "title": "CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`",
  "vendor": "ckan",
  "product": "ckan",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-04T05:43:15Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": -9.5,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42031.yaml"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.3,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner",
      "url": "https://github.com/ddrvahandzo90-hue/CVE-2026-42031-SQL-Injection-Scanner",
      "created_at": "2026-09-07T05:08:05Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-06-08T09:39:13Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ckan",
        "product": "ckan",
        "ranges": [
          "\u003e= 2.11.0, \u003c 2.11.5",
          "\u003c 2.10.10"
        ],
        "fixed_in": [
          "2.11.5",
          "2.10.10"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ckan to 2.11.5 or 2.10.10 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42031.yaml",
      "source": "nuclei",
      "title": "nuclei template: CKAN DataStore SQL Search - SQL Injection",
      "published_at": "2026-05-04T05:43:15Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
