{"affected":[{"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-rg3q-prf8-qxmp/GHSA-rg3q-prf8-qxmp.json"},"package":{"ecosystem":"GitHub Actions","name":"embano1/wip"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"2"}],"type":"ECOSYSTEM"}]}],"aliases":["CVE-2023-30623"],"database_specific":{"cwe_ids":["CWE-77"],"github_reviewed":true,"github_reviewed_at":"2023-04-24T22:32:32Z","nvd_published_at":"2023-04-24T22:15:09Z","severity":"HIGH"},"details":"## Summary\nThe  `embano1/wip` action uses the `github.event.pull_request.title` parameter in an insecure way. The title parameter is used in a run statement - resulting in a command injection vulnerability due to string interpolation.\n\n## Details and Impact\nThis vulnerability can be triggered by any user on GitHub. They just need to create a pull request with a commit message containing an exploit. (Note that first-time PR requests will not be run - but the attacker can submit a valid PR before submitting an invalid PR). The commit can be genuine, but the commit message can be malicious. \n\nThis can be used to execute code on the GitHub runners (potentially use it for crypto-mining, and waste your resources) and can be used to exfiltrate any secrets that you use in the CI pipeline (including repository tokens). [Here](https://securitylab.github.com/research/github-actions-untrusted-input/) is a set of blog posts by Github's security team explaining this issue.\n\n## How to update existing workflows\n\nReplace the following line in your workflow using this action with the `v2` branch name or commit pointing to this branch:\n\n```yaml\n    uses: embano1/wip@v2\n```\n\nOr using the exact commit:\n\n```yaml\n    uses: embano1/wip@c25450f77ed02c20d00b76ee3b33ff43838739a2 # v2\n```","id":"GHSA-rg3q-prf8-qxmp","modified":"2026-09-10T03:50:01.137786608Z","published":"2023-04-24T22:32:32Z","references":[{"type":"WEB","url":"https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30623"},{"type":"WEB","url":"https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2"},{"type":"PACKAGE","url":"https://github.com/embano1/wip"},{"type":"WEB","url":"https://securitylab.github.com/research/github-actions-untrusted-input"}],"schema_version":"1.9.0","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"}],"summary":"Arbitrary command injection in embano1/wip "}