CVE-2023-26493

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductCocos-engine
PublishedMar 27, 2023
First seenMar 27, 2023
Weakness typeCWE-74Injection

How to fix

Update
  • cocos cocos-engine2023-02-20 or later

Affected products

ProductAffected versionsFixed in
cocos cocos-enginev < 2023-02-202023-02-20

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-26493 · Cocos-engine · Dark Radar