CVE-2023-26493

Public Exploit
Command Injection in Cocos Engine workflow

Description

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.

Categories

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 1.23% Top 25%
Third-Party Advisory github.com
Affected: cocos cocos-engine
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-26493?
CVE-2023-26493 has been scored as a high severity vulnerability.
How to fix CVE-2023-26493?
To fix CVE-2023-26493, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-26493 being actively exploited in the wild?
It is possible that CVE-2023-26493 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-26493?
CVE-2023-26493 affects cocos cocos-engine.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.