CVE-2022-39217
CWE-74Published: September 17, 2022· Updated: Jun 17, 2026
Official Description
some-natalie/ghas-to-csv (GitHub Advanced Security to CSV) is a GitHub action which scrapes the GitHub Advanced Security API and shoves it into a CSV. In affected versions this GitHub Action creates a CSV file without sanitizing the output of the APIs. If an alert is dismissed or any other custom field contains executable code / formulas, it might be run when an endpoint opens that CSV file in a spreadsheet program. This issue has been addressed in version `v1`. Users are advised to use `v1` or later. There are no known workarounds for this issue.
Risk Analysis
The ghas-to-csv GitHub Action fails to sanitize API output when generating CSV files. This can lead to the execution of malicious code or formulas when a user opens the resulting CSV in a spreadsheet application, warranting a critical severity rating.
No public exploit is known for this issue, and it is not listed in the CISA KEV. It is remotely exploitable with low complexity.
Users should update to version v1 or later of the ghas-to-csv action.
Technical Analysis
CVE-2022-39217 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-74)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-39217 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts