OS Command Injection Vulnerability in bun by Snyk
CVE-2025-8022
8.7HIGH
What is CVE-2025-8022?
The bun package is susceptible to an OS Command Injection vulnerability stemming from inadequate handling of user inputs in its shell API. Attackers can exploit this flaw to inject malicious command-line arguments or shell metacharacters, resulting in unauthorized command execution on the system. Proper input validation measures are essential to mitigate such risks and protect against potential exploitation.
Affected Version(s)
bun 0