CVEBrief

Home / GitHub / Enterprise Server / CVE-2023-22381

CVE-2023-22381: is it exploited, and which versions of GitHub Enterprise Server are affected and fixed?

CVE-2023-22381 is a code injection (remote code execution) vulnerability in GitHub Enterprise Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: Enterprise Server from 3.4.0 through 3.4.14, Enterprise Server from 3.5.0 through 3.5.11, Enterprise Server from 3.6.0 through 3.6.7 and 1 more (CVE record by GitHub_P). Fixed in 3.4.15, 3.5.12, 3.6.8, 3.7.5 and 1 more (CVE record by GitHub_P). Severity: Medium (4.1, CVSS 3.1, from GitHub_P).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
Enterprise Server from 3.4.0 through 3.4.14, Enterprise Server from 3.5.0 through 3.5.11, Enterprise Server from 3.6.0 through 3.6.7 and 1 more
CVE record by GitHub_P
Fixed in
3.4.15, 3.5.12, 3.6.8, 3.7.5 and 1 more
CVE record by GitHub_P
Severity
Medium 4.1
CVSS 3.1 from GitHub_P
Exploit odds (EPSS)
0.84% in 30 days
higher than 59% of CVEs; FIRST, December 2, 2026

What is CVE-2023-22381?

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

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.

From the CVE record by GitHub_P, last updated March 5, 2025, 20:05 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
GitHubEnterprise Serverfrom 3.4.0 through 3.4.14
from 3.5.0 through 3.5.11
from 3.6.0 through 3.6.7
from 3.7.0 through 3.7.4
3.4.15, 3.5.12, 3.6.8, 3.7.5, 3.8.0

As the CVE record by GitHub_P states it, last updated March 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
githubenterprise serverbefore 3.4.15application
githubenterprise serverfrom 3.5.0 before 3.5.12application
githubenterprise serverfrom 3.6.0 before 3.6.8application
githubenterprise serverfrom 3.7.0 before 3.7.5application

NVD analysis (status Modified), last modified June 17, 2026, 05:35 UTC.

How severe is CVE-2023-22381?

ScoreVersionVectorSource
Medium 4.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:LGitHub_P
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-22381 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 5, 2025)
EPSS
0.84% probability of exploitation activity in the next 30 days, percentile 59.0 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
December 20, 2022
Published
March 2, 2023, 20:54 UTC
CVE record updated
March 5, 2025, 20:05 UTC by GitHub_P
NVD
Modified, last modified June 17, 2026, 05:35 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Enterprise Server?

Every CVE in Enterprise Server

Questions about CVE-2023-22381

Is CVE-2023-22381 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of GitHub Enterprise Server are affected by CVE-2023-22381?

Enterprise Server from 3.4.0 through 3.4.14, Enterprise Server from 3.5.0 through 3.5.11, Enterprise Server from 3.6.0 through 3.6.7 and Enterprise Server from 3.7.0 through 3.7.4, per the CVE record by GitHub_P. The tables above give every range the sources list.

Which version fixes CVE-2023-22381?

3.4.15, 3.5.12, 3.6.8, 3.7.5 and 3.8.0, per the CVE record by GitHub_P. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-22381?

Medium (4.1, CVSS 3.1, from GitHub_P). The severity table above shows each score with its source.

Where is the official record of CVE-2023-22381?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.