# CVE-2024-42482: fish-shop/syntax-check Improper Neutralization of Delimiters

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-08-12T15:35:57.157Z
- Modified: 2026-06-17T07:49:32.220Z
- Also known as: GHSA-xj87-mqvh-88w2
- Weaknesses: CWE-140
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- fish-shop syntax-check: < 1.6.12; before 1.6.12
- fish-shop/syntax-check (GitHub Actions): before 1.6.12

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88w2> (vendor-advisory, web)
- <https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029b036a53b03> (patch, web)
- <https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ee7d6f49ca> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42482> (advisory)
- <https://github.com/fish-shop/syntax-check> (package)

## Sources

- CVE List: [CVE-2024-42482](https://www.cve.org/CVERecord?id=CVE-2024-42482), CVE Terms of Use, modified 2024-08-13
- GitHub Advisory Database: [GHSA-xj87-mqvh-88w2](https://github.com/advisories/GHSA-xj87-mqvh-88w2), CC-BY-4.0, modified 2024-08-12
- NVD: [CVE-2024-42482](https://nvd.nist.gov/vuln/detail/CVE-2024-42482), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42482 · Whole record: https://cve.day/CVE-2024-42482.json · Rebuilt by cve.day 2026-11-25T22:58:44.221Z
