{
  "id": "CVE-2025-46816",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-46816",
  "published_at": "2025-05-06T18:41:58.035Z",
  "title": "goshs route not protected, allows command execution",
  "vendor": "patrickhener",
  "product": "goshs",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-06-04T17:58:58Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 29,
    "repo": "Guilhem7/CVE-2025-46816",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not checks the option cli `-c`, thus allowing anyone to execute arbitrary command through the use of websockets. Version 1.0.5 fixes the issue.",
  "cwe": "CWE-284",
  "cvss_by_source": {
    "cna": 9.4
  },
  "repos": [
    {
      "repo": "Guilhem7/CVE-2025-46816",
      "url": "https://github.com/Guilhem7/CVE-2025-46816",
      "created_at": "2025-06-04T17:58:58Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-25T09:47:28Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "patrickhener",
        "product": "goshs",
        "ranges": [
          "\u003e= 0.3.4, \u003c 1.0.5"
        ],
        "fixed_in": [
          "1.0.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade goshs to 1.0.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/patrickhener/goshs/security/advisories/GHSA-rwj2-w85g-5cmm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/patrickhener/goshs/commit/160220974576afe5111485b8d12fd36058984cfa"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
