CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-49013: WilderForge vulnerable to code Injection via GitHub Actions Workflows

9.9 CVSS

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.

Classification

CVE ID: CVE-2025-49013

CVSS Base Severity: CRITICAL

CVSS Base Score: 9.9

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem Types

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

Vendor: WilderForge

Product: WilderForge

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.16% (probability of being exploited)

EPSS Percentile: 38.08% (scored less or equal to compared to others)

EPSS Date: 2025-06-23 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-49013
https://github.com/WilderForge/WilderForge/security/advisories/GHSA-m6r3-c73x-8fw5
https://codeql.github.com/codeql-query-help/javascript/js-actions-command-injection
https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#preventing-script-injection
https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injection
https://securitylab.github.com/research/github-actions-untrusted-input

Timeline