fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--…
NodeJS Node
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| NodeJS Node |
| No fix yet |
Original description
fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in Node.js 20. This flaw arises from a missing check in the `fs.openAsBlob()` API.