Hi team,
I’m facing an issue with the @ngx-env/builder package related to the recently disclosed glob vulnerability (CVE-2025-64756). The package appears to rely on a version of glob.
About the Vulnerability
CVE ID: CVE-2025-64756
Package: glob
Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0. This also triggers security scanners to flag the package as vulnerable. Upgrade to the patched version (glob@11.1.0 or later). High-severity security risk flagged by security tools (e.g., Amazon Inspector).