# CVE-2024-21623: Arbitrary Expression Injection in github workflow leads to Command execution & leaking secrets

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.23%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-01-02T20:29:14.163Z
- Modified: 2026-06-17T07:09:51.993Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

OTCLient is an alternative tibia client for otserv. Prior to commit db560de0b56476c87a2f967466407939196dd254, the /mehah/otclient "`Analysis - SonarCloud`" workflow is vulnerable to an expression injection in Actions, allowing an attacker to run commands remotely on the runner, leak secrets, and alter the repository using this workflow. Commit db560de0b56476c87a2f967466407939196dd254 contains a fix for this issue.

(As written by CVE List.)

## Affected

- mehah otclient: < db560de0b56476c87a2f967466407939196dd254; before 2023-12-30

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589> (exploit, vendor-advisory)
- <https://securitylab.github.com/research/github-actions-preventing-pwn-requests/> (exploit, third-party-advisory)
- <https://securitylab.github.com/research/github-actions-untrusted-input/> (exploit, third-party-advisory)
- <https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254> (patch)
- <https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104> (product)

## Sources

- CVE List: [CVE-2024-21623](https://www.cve.org/CVERecord?id=CVE-2024-21623), CVE Terms of Use, modified 2024-11-14
- NVD: [CVE-2024-21623](https://nvd.nist.gov/vuln/detail/CVE-2024-21623), Public domain, modified 2026-06-17

---

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