CVE-2025-8022
No score
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 0
- CVSS
- —
- EPSS
- —
- Auth required
- Unknown
- Published
- Jul 23, 2025
- Updated
- Aug 11, 2025
- Category
- Application · Cross-platform
What happens
Rejected reason: Bun Shell does not invoke /bin/sh, or any other interpreter, for template literals created with the $ function. Each ${…} interpolation is treated as a single argument. The security responsibility for this usage pattern lies with the calling application, which must ensure the sanitization and validation of any untrusted arguments before passing them to the executed commands. Therefore, the potential for command injection is not a flaw within Bun itself; rather, it is an argument injection that is contingent on its implementation by the consuming application.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | bun |
≤ 1.1.39 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-4j66-8f4r-3pjx). Check the version in your lockfile before upgrading.