p PatchFirst

CVE-2025-8022

CVE-2025-8022 · bun vulnerable to OS Command Injection

This page contains facts from public vulnerability sources. Check the original advisory before updating.

All versions of the package bun are vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in the $ shell API due to improper neutralization of user input. An attacker can exploit this by providing specially crafted input that includes command-line arguments or shell metacharacters, leading to unintended command execution.

CVSS 8.8 · High

Published
Updated

Stack: node

Affected products and versions

  • bun npm

    Affected ranges
    • SEMVER: ≤ 1.1.39

    No fix published

Original sources

Check your server →