Read the docs
TI-2026-66514 Aliases GHSA-6p2j-742g-835f

actions-mkdocs: Command Injection via issue title in internal GitHub Actions workflow

Priority LOW 38CWE-77Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Code execution
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-77.

Summary

### Summary External input from `github.event.issue.title` is used unsafely in a shell command in `.github/workflows/release-candidate.yaml`, allowing command injection during workflow execution. ### Details In `.github/workflows/release-candidate.yaml`, the issue title is interpolated directly into a shell command: ``` export VERSION=$(echo ${{ github.event.issue.title }} | sed -E 's/Release v?([0-9\.]*)/\1/g') ``` Because the issue title is attacker-controlled and is embedded directly into a shell command, shell metacharacters such as command substitution (`$()`) and command separators (`;`) can be interpreted by the shell. Although the workflow checks that the title starts with `Release `, this condition can still be satisfied by a maliciously crafted input. ### PoC 1. Create or edit an issue with the following title: ``` Release v1.2.3 $(whoami) ``` 2. Trigger the workflow that processes the issue. 3. Observe that the injected command is executed on the runner. The workflow logs show that `$(whoami)` is evaluated and its output (`runner`) appears in the command result, confirming that attacker-controlled input is executed within the shell. <img width="633" height="380" alt="스크린샷 2026-03-27 오후 8 33 43" src="https://github.com/user-attachments/assets/90b38dab-8c53-4a13-8302-158ac5acf051" /> ### Impact This vulnerability allows command injection in the GitHub Actions runner through attacker-controlled issue titles. An attacker may be able to execute arbitrary commands within the context of the affected workflow job. Depending on the workflow configuration (such as permissions and available secrets), successful exploitation could lead to: * Unauthorized command execution in the CI environment * Misuse of the `GITHUB_TOKEN` * Modification of repository state, release artifacts, or other workflow outputs If the repository is public and allows untrusted users to create or reopen issues that trigger the workflow, this may be exploitable by external users. This issue is limited to the repository's internal workflow configuration and does not directly affect downstream users of the published `actions-mkdocs` GitHub Action.

Why it matters now

Fix Fixed Tiryoh/actions-mkdocs (GitHub Actions): 0.25.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Tiryoh/actions-mkdocs (GitHub Actions)before 0.25.00.25.0Patch availableGHSA-6p2j-742g-835f
  • Tiryoh/actions-mkdocs (GitHub Actions) Vendor— Affected before 0.25.0 Fixed in 0.25.0 Patch available GHSA-6p2j-742g-835f

Remediation

  • Fix · GHSA-6p2j-742g-835f Tiryoh/actions-mkdocs (GitHub Actions) Fixed in 0.25.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-6p2j-742g-835f

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences