CVE-2026-4821 PUBLISHED

Proxy configuration command injection vulnerability found in GitHub Enterprise Server Management Console configuration API

Assigner: GitHub_P
Reserved: 25.03.2026 Published: 21.04.2026 Updated: 21.04.2026

An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an authenticated Management Console administrator to execute arbitrary OS commands via shell metacharacter injection in proxy configuration fields such as http_proxy. Exploitation of this vulnerability required access to the GitHub Enterprise Server instance and administrator privileges to the Management Console. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
CVSS Score: 8.1

Product Status

Vendor GitHub
Product Enterprise Server
Versions Default: affected
  • affected from 3.20.0 to 3.20.1 (excl.)
  • affected from 3.19.0 to 3.19.4 (incl.)
  • affected from 3.18.0 to 3.18.7 (incl.)
  • affected from 3.17.0 to 3.17.13 (incl.)
  • affected from 3.16.0 to 3.16.16 (incl.)
  • affected from 3.15.0 to 3.15.20 (incl.)
  • affected from 3.14.0 to 3.14.25 (incl.)

Credits

  • Seokchan Yoon reporter

References

Problem Types

  • CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') CWE

Impacts

  • CAPEC-248 Command Injection
  • CAPEC-233 Privilege Escalation