CVE-2023-22381 - CVE House
Back to Database
Status published Medium CVE-2023-22381

Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-22381

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • RyotaK

Affected Vendor

Affected Software

Enterprise Server
Vulnerable Versions:
3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0

Timeline

Official Publish: March 2nd, 2023
Last Modified: March 5th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

Weaknesses (CWE)