CVE-2025-8022 Details
Description
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.
A command injection vulnerability has been identified in all versions of the Bun package, specifically within the '$' shell API. This issue arises from improper handling of user input, allowing attackers to inject command-line arguments or shell metacharacters that could be exploited to execute unintended commands. The vulnerability is categorized as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
No references are available for this CVE.
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
No affected product data is available for this CVE.
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 11, 2025 | CVE Rejected | [email protected] |
| Aug 11, 2025 | CVE Modified | [email protected] |
| Aug 11, 2025 | CVE Modified | [email protected] |
| Aug 11, 2025 | CVE Unrejected | [email protected] |
| Aug 10, 2025 | CVE Rejected | [email protected] |
| Aug 10, 2025 | CVE Modified | [email protected] |
| Jul 24, 2025 | CVE Modified | [email protected] |
| Jul 23, 2025 | New CVE Received | [email protected] |