CVE-2022-46258
Incorrect Authorization in GitHub Enterprise Server leads to Action Workflow modifications without Workflow Scope
- State
- Published
- Severity
- 6.5 Medium
- Published
- Jan 9, 2023
- Updated
- Apr 9, 2025
- Reserved
- Nov 28, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
GitHub Enterprise ServerGitHub |
|
References
- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.