Skip to main content
Network Thinking Solutions Logo

CVE-2023-22381

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.

All CVEs
CVE-2023-22381Published 3/2/2023

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.

Vendor advisory
CVSS8.8High

Overview

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.

Published
3/2/2023
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
enterprise server
github
< 3.4.15

Verify advisory

Source
enterprise server
github
≥ 3.5.0, < 3.5.12

Verify advisory

Source
enterprise server
github
≥ 3.6.0, < 3.6.8

Verify advisory

Source
enterprise server
github
≥ 3.7.0, < 3.7.5

Verify advisory

Source
Enterprise Server
GitHub
≥ 3.4.0, ≤ 3.4.14

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.5.0, ≤ 3.5.11

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.6.0, ≤ 3.6.7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Enterprise Server
GitHub
≥ 3.7.0, ≤ 3.7.4

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.