CVE-2022-46258

medium

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.

References

https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4

https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8

https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11

https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16

Details

Source: Mitre, NVD

Published: 2023-01-09

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Severity: Medium

EPSS

EPSS: 0.00052