CVE-2026-34243

wenxian: Command Injection in GitHub Actions Workflow via `issue_comment.body`

Published Mar 31, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.3% KEV · Not listed
Description
wenxian is a tool to generate BIBTEX files from given identifiers (DOI, PMID, arXiv ID, or paper title). In versions 0.3.1 and prior, a GitHub Actions workflow uses untrusted user input from issue_comment.body directly inside a shell command, allowing potential command injection and arbitrary code execution on the runner. At time of publication, there are no publicly available patches.

Analysis

AI-generated

Technical impact

Untrusted content from issue_comment.body is used directly in a shell command in the GitHub Actions workflow of wenxian. The flaw permits an attacker to inject arbitrary shell commands that run on the workflow runner, leading to remote code execution. This vulnerability aligns with CWE‑77 and CWE‑78.

Affected Systems

The affected product is wenxian, a BibTeX generation tool developed by njzjz. Versions 0.3.1 and all earlier releases contain the flaw. The tool is hosted on GitHub and its workflow runs in the context of the repository’s GitHub Actions runners.

Risk and Exploitability

The CVSS score is 9.8, indicating a high severity for remote execution. The EPSS score is 2%, indicating a low probability of exploitation, yet the public nature of the workflow and the minimal requirement of an issue comment mean an attacker can readily trigger it. The vulnerability is not yet listed in CISA’s KEV catalog. The likely attack vector is any user able to post or modify an issue comment in the repository, which the workflow then processes without validation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Identify and disable all GitHub Actions workflows that invoke wenxian until a fix is available
  • Remove the direct use of issue_comment.body in shell commands or apply strict sanitization before execution
  • Monitor repository issue comments for suspicious content and block malicious comments
  • Check the project’s repository for a newer release of wenxian that addresses the issue and upgrade immediately
  • If no patch is forthcoming, consider replacing wenxian with an alternative tool that does not expose a command injection vector

Generated by OpenCVE AI on June 18, 2026 at 09:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r4fj-r33x-8v88 wenxian: Command Injection in GitHub Actions Workflow via `issue_comment.body`
History
Type Values Removed Values Added
CPEs cpe:2.3:a:njzjz:wenxian:*:*:*:*:*:python:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Njzjz
Njzjz wenxian
Vendors & Products Njzjz
Njzjz wenxian
Type Values Removed Values Added
Description wenxian is a tool to generate BIBTEX files from given identifiers (DOI, PMID, arXiv ID, or paper title). In versions 0.3.1 and prior, a GitHub Actions workflow uses untrusted user input from issue_comment.body directly inside a shell command, allowing potential command injection and arbitrary code execution on the runner. At time of publication, there are no publicly available patches.
Title wenxian: Command Injection in GitHub Actions Workflow via `issue_comment.body`
Weaknesses CWE-77
CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 2, 2026, 3:21 PM
Reserved
Mar 26, 2026, 4:22 PM
Status
Analyzed
Published
Mar 31, 2026, 4:16 PM
Modified
Jul 24, 2026, 8:10 PM