{
  "id": "CVE-2026-27730",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-27730",
  "published_at": "2026-02-25T15:37:01.753Z",
  "title": "esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route",
  "vendor": "esm-dev",
  "product": "esm.sh",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "esm.sh is a no-build content delivery network (CDN) for web development. Versions up to and including 137 have an SSRF vulnerability (CWE-918) in esm.sh’s `/http(s)` fetch route. The service tries to block localhost/internal targets, but the validation is based on hostname string checks and can be bypassed using DNS alias domains. This allows an external requester to make the esm.sh server fetch internal localhost services. As of time of publication, no known patched versions exist.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "esm-dev",
        "product": "esm.sh",
        "ranges": [
          "\u003c= 137"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "github.com/esm-dev/esm.sh",
        "ranges": [
          "\u003c 0.0.0-20250616164159-0593516c4cfa"
        ],
        "fixed_in": [
          "0.0.0-20250616164159-0593516c4cfa"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-p2v6-84h2-5x4r"
      }
    ],
    "upgrade": [
      "Upgrade github.com/esm-dev/esm.sh to 0.0.0-20250616164159-0593516c4cfa or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/esm-dev/esm.sh/security/advisories/GHSA-p2v6-84h2-5x4r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
