{"id":"CVE-2026-44594","published":"2026-05-28T14:45:04Z","modified":"2026-05-28T15:31:19Z","title":"esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files","vendor":"esm-dev","product":"esm.sh","tier":"tail","description":{"text":"esm.sh is a no-build content delivery network (CDN) for web development. In 137 and earlier, a Local File Inclusion (LFI) vulnerability exists in the esbuild plugin's handling of the browser field in package.json. An attacker can publish an npm package that causes the server to read and return arbitrary files from the host filesystem during the build process.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00387,"percentile":0.3365,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-rg65-45m7-hq57","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":6.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"esm-dev","affectedVersions":[{"vendor":"esm-dev","product":"esm.sh","versions":["<= 137"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-28T15:31:13.584346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/esm-dev/esm.sh","vulnerableRanges":["<0.0.0-20250616164159-0593516c4cfa"],"patched":["0.0.0-20250616164159-0593516c4cfa"],"from":["GHSA-rg65-45m7-hq57","GO-2026-5620"],"provenance":"source"}],"summary":{"text":"The esm.sh CDN, specifically its esbuild plugin's handling of the browser field in package.json, contains a path traversal flaw that lets the server resolve pathnames outside their intended directory. An attacker who can publish an npm package can use this to make the server read and return arbitrary files from the host filesystem during the build process, requiring only network access and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:58Z"},"euvd":{"id":"EUVD-2026-32911","exploited":false,"provenance":"source"}}