Description

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.

INFO

Published Date :

2025-07-23T05:00:06.702Z

Last Modified :

2025-08-11T10:10:46.768Z

Source :

snyk
AFFECTED PRODUCTS

The following products are affected by CVE-2025-8022 vulnerability.

Vendors Products
Bun
  • Bun

CVSS Vulnerability Scoring System