CVE-2025-49013

WilderForge vulnerable to code Injection via GitHub Actions Workflows

State
Published
Severity
10.0 Critical
Published
Jun 9, 2025
Updated
Jun 9, 2025
Reserved
May 29, 2025

Read the record on cve.org

Description

WilderForge is a Wildermyth coremodding API. A critical vulnerability has been identified in multiple projects across the WilderForge organization. The issue arises from unsafe usage of `${{ github.event.review.body }}` and other user controlled variables directly inside shell script contexts in GitHub Actions workflows. This introduces a code injection vulnerability: a malicious actor submitting a crafted pull request review containing shell metacharacters or commands could execute arbitrary shell code on the GitHub Actions runner. This can lead to arbitrary command execution with the permissions of the workflow, potentially compromising CI infrastructure, secrets, and build outputs. Developers who maintain or contribute to the repos WilderForge/WilderForge, WilderForge/ExampleMod, WilderForge/WilderWorkspace, WilderForge/WildermythGameProvider, WilderForge/AutoSplitter, WilderForge/SpASM, WilderForge/thrixlvault, WilderForge/MassHash, and/or WilderForge/DLC_Disabler; as well as users who fork any of the above repositories and reuse affected GitHub Actions workflows, are affected. End users of any the above software and users who only install pre-built releases or artifacts are not affected. This vulnerability does not impact runtime behavior of the software or compiled outputs unless those outputs were produced during exploitation of this vulnerability. A current workaround is to disable GitHub Actions in affected repositories, or remove the affected workflows.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
  • CWE-116 Improper Encoding or Escaping of Output

Affected Products

ProductVersions
WilderForgeWilderForge
  • < 5.2.1.0 (com.wildermods.workspace:com.wildermods.workspace.gradle.plugin)Affected
  • < 1.0.0.5 (com.wildermods:ExampleMod)Affected
  • < 0.4.2.0 (com.wildermods:WilderForge)Affected
  • < 36a1107de6a77f8353dd0aa14690aa3c7c3550ef (com.wildermods:autosplitter)Affected
  • < 1.0.1.0 (com.wildermods:dlc_disabler)Affected
  • < 1.3.1.0 (com.wildermods:masshash)Affected
  • < 1.9.1.0 (com.wildermods:provider)Affected
  • < 0.5.1.0 (com.wildermods:thrixlvault)Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.