CVE-2023-22381
highpriority · track · 35EPSS 0.008 · 58 %ileDEEUUSEPSS · scored 2026-10-27
A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.1–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-0560Microsoft GitHub Enterprise: Schwachstelle ermöglicht CodeausführungDeutsch2023-03-02csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Microsoft GitHub Enterprise ausnutzen, um beliebigen Programmcode auszuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-22381/cnnvd
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15cnnvd
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12cnnvd
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8cnnvd
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5cnnvd
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notescnnvd
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15enisa_euvd
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan