CVE-2023-24531 in Script products
Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor be...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Script | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-24531 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-048358-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-07-02 |
| Last modified | 2026-04-15 |
| Source | NVD |
Analysis AI-written, not human-reviewed
CVE-2023-24531 affects the Go programming language's 'go env' command, which can output unsanitized shell scripts leading to potential execution of arbitrary commands or insertion of malicious environment variables.
An attacker can manipulate environment variables in a way that the 'go env' command outputs a shell script containing malicious commands. If this script is executed, it can lead to arbitrary command execution or unauthorized environment variable modifications.
Questions
What is CVE-2023-24531?
CVE-2023-24531 affects the Go programming language's 'go env' command, which can output unsanitized shell scripts leading to potential execution of arbitrary commands or insertion of malicious environment variables.
What is the CVSS score for CVE-2023-24531?
CVE-2023-24531 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2023-24531 actively exploited?
No confirmed active exploitation of CVE-2023-24531 as of 2026-05-30.
How do I remediate CVE-2023-24531?
Priority: MEDIUM.
What systems are affected by CVE-2023-24531?
CVE-2023-24531 affects Script.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Script","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.