BreachSpiderVerified, not vibes

CVE-2022-46258 in Github Enterprise Server

Medium 6.5

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
EPSS0.7%
EPSS percentile48th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Github Enterprise Server < 3.3.16 ≥ 3.4.0, < 3.4.11 ≥ 3.5.0, < 3.5.8 ≥ 3.6.0, < 3.6.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-46258
BreachSpider IDBS-2023-GLOBAL-062914-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published2023-01-09
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

An incorrect authorization vulnerability in GitHub Enterprise Server allows repository-scoped tokens to modify Action Workflow files without the necessary Workflow scope, affecting versions prior to 3.7.

An attacker with a repository-scoped token that has read/write access can exploit this vulnerability to modify Action Workflow files, potentially leading to unauthorized changes in the CI/CD pipeline.

Questions

What is CVE-2022-46258?

An incorrect authorization vulnerability in GitHub Enterprise Server allows repository-scoped tokens to modify Action Workflow files without the necessary Workflow scope, affecting versions prior to 3.7.

What is the CVSS score for CVE-2022-46258?

CVE-2022-46258 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.7%.

Is CVE-2022-46258 actively exploited?

No confirmed active exploitation of CVE-2022-46258 as of 2026-09-25.

How do I remediate CVE-2022-46258?

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

What systems are affected by CVE-2022-46258?

CVE-2022-46258 affects Github Enterprise Server.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Enterprise Server","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.