{"id":"GHSA-gqf6-75v8-vr26","aliases":["GHSA-gqf6-75v8-vr26"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Write in bin-links","summary":"Versions of `bin-links` prior to 1.1.5 are vulnerable to an Arbitrary File Write. The package fails to restrict access to folders outside of the intended `node_modules` folder through the `bin` field. This allows attackers to create arbitrary files in the system. Note it is not possible to overwrite files that already exist.\n\n\n## Recommendation\n\nUpgrade to version 1.1.5 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `bin-links` prior to 1.1.5 are vulnerable to an Arbitrary File Write. The package fails to restrict access to folders outside of the intended `node_modules` folder through the `bin` field. This allows attackers to create arbitrary files in the system. Note it is not possible to overwrite files that already exist.\n\n\n## Recommendation\n\nUpgrade to version 1.1.5 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T16:56:11.000Z","modified":"2020-08-31T18:58:56.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.5"}],"ecosystem":"npm","package":"bin-links","purl":"pkg:npm/bin-links","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1427","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gqf6-75v8-vr26","url":"https://github.com/advisories/GHSA-gqf6-75v8-vr26","licence":"CC-BY-4.0","modified":"2020-08-31T18:58:56.000Z"}],"updatedAt":"2026-11-25T22:56:45.482Z"}