# CVE-2022-46258: Incorrect Authorization in GitHub Enterprise Server leads to Action Workflow modifications without Workflow Scope

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2023-01-09T00:00:00.000Z
- Modified: 2026-06-17T05:11:24.750Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_P

## 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.

(As written by CVE List.)

## Affected

- GitHub GitHub Enterprise Server: from 3.3 before 3.3.16; from 3.4 before 3.4.11; from 3.5 before 3.5.8; from 3.6 before 3.6.4
- github enterprise_server: before 3.3.16; from 3.4.0 before 3.4.11; from 3.5.0 before 3.5.8; from 3.6.0 before 3.6.4

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## 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>

## Sources

- CVE List: [CVE-2022-46258](https://www.cve.org/CVERecord?id=CVE-2022-46258), CVE Terms of Use, modified 2025-04-09
- NVD: [CVE-2022-46258](https://nvd.nist.gov/vuln/detail/CVE-2022-46258), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46258 · Whole record: https://cve.day/CVE-2022-46258.json · Rebuilt by cve.day 2026-11-25T22:58:18.122Z
