# CVE-2024-42482

## Summary

- **CVE ID:** CVE-2024-42482
- **Severity:** MEDIUM
- **CVSS Score:** 4.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N)
- **CWE:** CWE-140
- **Published:** Aug 12, 2024
- **Last Modified:** Mar 13, 2026

## Description

fish-shop/syntax-check is a GitHub action for syntax checking fish shell files. Improper neutralization of delimiters in the `pattern` input (specifically the command separator `;` and command substitution characters `(` and `)`) mean that arbitrary command injection is possible by modification of the input value used in a workflow. This has the potential for exposure or exfiltration of sensitive information from the workflow runner, such as might be achieved by sending environment variables to an external entity. It is recommended that users update to the patched version `v1.6.12` or the latest release version `v2.0.0`, however remediation may be possible through careful control of workflows and the `pattern` input value used by this action.

## Affected Products

- fish-shop — syntax-check (< 1.6.12)

## References

- [CNA](https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88w2)
- [CNA](https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029b036a53b03)
- [CNA](https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ee7d6f49ca)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.82%
- **EPSS Percentile:** 55.1

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._