Medium severity · published Jan 9, 2023
CVE-2022-46258
Incorrect Authorization in GitHub Enterprise Server leads to Action Workflow modifications without Workflow Scope
6.5
CVSS
0.6%
EPSS
No
On KEV
Description
An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a repository-scoped token with read/write access to modify Action Workflow files without a Workflow scope. The Create or Update file contents API should enforce workflow scope. This vulnerability affected all versions of GitHub Enterprise Server prior to version 3.7 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, and 3.6.4. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GE
GitHub Enterprise Server · GitHub
3.3 before 3.3.16; 3.4 before 3.4.11; 3.5 before 3.5.8; 3.6 before 3.6.4 · source: vendor
ES
Enterprise Server · Github
before 3.3.16; 3.4.0 before 3.4.11; 3.5.0 before 3.5.8; 3.6.0 before 3.6.4 · source: NVD
Affected product
GE
GitHub Enterprise Server
GitHub
More from GitHub Enterprise Server
9.8
CVE-2024-6800
An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication with specific identity providers utilizing publicly exposed…
9.8
CVE-2022-23739
Incorrect authorization check in GitHub Enterprise Server leading to escalation of privileges in GraphQL API requests from GitHub Apps using scoped user-to-server tokens
8.8
CVE-2022-23740
Improper Neutralization of Argument Delimiters in a Command in GitHub Enterprise Server leading to Remote Code Execution
8.8
CVE-2022-23734
Deserialization of Untrusted Data vulnerability in GitHub Enterprise Server leading to Remote Code Execution
7.6
CVE-2025-3246
Markdown math block sanitization bypass allows privilege escalation and unauthorized workflow triggers