{"id":"CVE-2023-26493","aliases":["CVE-2023-26493"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in Cocos Engine workflow","summary":"Cocos Engine is an open-source framework for building 2D & 3D real-time rendering and interactive content. In the github repo for Cocos Engine the `web-interface-check.yml` was subject to command injection. The `web-interface-check.yml` was triggered when a pull request was opened or updated and contained the user controllable field `(${{ github.head_ref }} – the name of the fork’s branch)`. This would allow an attacker to take over the GitHub Runner and run custom commands (potentially stealing secrets such as GITHUB_TOKEN) and altering the repository. The workflow has since been removed for the repository. There are no actions required of users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cocos Engine is an open-source framework for building 2D & 3D real-time rendering and interactive content. In the github repo for Cocos Engine the `web-interface-check.yml` was subject to command injection. The `web-interface-check.yml` was triggered when a pull request was opened or updated and contained the user controllable field `(${{ github.head_ref }} – the name of the fork’s branch)`. This would allow an attacker to take over the GitHub Runner and run custom commands (potentially stealing secrets such as GITHUB_TOKEN) and altering the repository. The workflow has since been removed for the repository. There are no actions required of users.","source":"cvelist"}],"published":"2023-03-27T21:35:36.844Z","modified":"2026-06-17T05:43:27.577Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-74","CWE-77"],"affected":[{"ranges":[{"version":"< 6d06aefa26","status":"affected"}],"vendor":"cocos","product":"cocos-engine","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2023-02-20"}],"vendor":"cocos","product":"cocos-engine","cpe":"cpe:2.3:a:cocos:cocos-engine:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-027_Engine_for_Cocos_Creator/","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cocos/cocos-engine/commit/6d06aefa2684e20da79e7ceaf41f728c1a8d7a41","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cocos/cocos-engine/blob/2362df28a4b3016dbda804899041279701929728/.github/workflows/web-interface-check.yml","tags":["product","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-02-19T15:51:20.010Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26493","url":"https://www.cve.org/CVERecord?id=CVE-2023-26493","licence":"CVE Terms of Use","modified":"2025-02-19T15:51:24.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26493","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26493","licence":"Public domain","modified":"2026-06-17T05:43:27.577Z"}],"updatedAt":"2026-11-25T22:58:22.733Z","epss":{"score":0.02907,"percentile":0.87349,"date":"2026-12-01T12:00:22.000Z"}}