BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-46820 in Github products

High 7.1

phpgt/Dom provides access to modern DOM APIs. Versions of phpgt/Dom prior to 4.1.8 expose the GITHUB_TOKEN in the Dom workflow run artifact. The ci.yml workflow file uses actions/upload-artifact@v4 to upload the build artifact. This artifact is a zip of the current directory, which includes the automatically generat...

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.1
EPSS0.3%
EPSS percentile16th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Github — —
Modern — —
Valid — —

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

phpgt/Dom provides access to modern DOM APIs. Versions of phpgt/Dom prior to 4.1.8 expose the GITHUB_TOKEN in the Dom workflow run artifact. The ci.yml workflow file uses actions/upload-artifact@v4 to upload the build artifact. This artifact is a zip of the current directory, which includes the automatically generated .git/config file containing the run's GITHUB_TOKEN. Seeing as the artifact can be downloaded prior to the end of the workflow, there is a few seconds where an attacker can extract the token from the artifact and use it with the GitHub API to push malicious code or rewrite release commits in your repository. Any downstream user of the repository may be affected, but the token should only be valid for the duration of the workflow run, limiting the time during which exploitation could occur. Version 4.1.8 fixes the issue.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-46820
BreachSpider IDBS-2025-GLOBAL-261570-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
Published2025-05-06
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-200: Exposure of Sensitive Information

Application reveals restricted data such as system internals, credentials, or user data to unauthorized actors.

CWE-312: CWE-312

CWE-522: CWE-522

CWE-538: CWE-538

Related attack patterns (CAPEC)

CAPEC-13 Subverting Environment Variable Values via CWE-200

CAPEC-37 Retrieve Embedded Sensitive Data via CWE-312

CAPEC-59 Session Credential Falsification through Prediction via CWE-200

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-200

CAPEC-79 Using Slashes in Alternate Encoding via CWE-200

Show all 74

CAPEC-95 WSDL Scanning via CWE-538

CAPEC-102 Session Sidejacking via CWE-522

CAPEC-285 ICMP Echo Request Ping via CWE-200

CAPEC-287 TCP SYN Scan via CWE-200

CAPEC-290 Enumerate Mail Exchange (MX) Records via CWE-200

CAPEC-291 DNS Zone Transfers via CWE-200

CAPEC-293 Traceroute Route Enumeration via CWE-200

CAPEC-294 ICMP Address Mask Request via CWE-200

CAPEC-295 Timestamp Request via CWE-200

CAPEC-296 ICMP Information Request via CWE-200

CAPEC-297 TCP ACK Ping via CWE-200

CAPEC-298 UDP Ping via CWE-200

CAPEC-299 TCP SYN Ping via CWE-200

CAPEC-301 TCP Connect Scan via CWE-200

CAPEC-302 TCP FIN Scan via CWE-200

CAPEC-303 TCP Xmas Scan via CWE-200

CAPEC-304 TCP Null Scan via CWE-200

CAPEC-305 TCP ACK Scan via CWE-200

CAPEC-306 TCP Window Scan via CWE-200

CAPEC-307 TCP RPC Scan via CWE-200

CAPEC-308 UDP Scan via CWE-200

CAPEC-310 Scanning for Vulnerable Software via CWE-200

CAPEC-317 IP ID Sequencing Probe via CWE-200

CAPEC-318 IP 'ID' Echoed Byte-Order Probe via CWE-200

CAPEC-319 IP (DF) 'Don't Fragment Bit' Echoing Probe via CWE-200

CAPEC-320 TCP Timestamp Probe via CWE-200

CAPEC-321 TCP Sequence Number Probe via CWE-200

CAPEC-322 TCP (ISN) Greatest Common Divisor Probe via CWE-200

CAPEC-323 TCP (ISN) Counter Rate Probe via CWE-200

CAPEC-324 TCP (ISN) Sequence Predictability Probe via CWE-200

CAPEC-325 TCP Congestion Control Flag (ECN) Probe via CWE-200

CAPEC-326 TCP Initial Window Size Probe via CWE-200

CAPEC-327 TCP Options Probe via CWE-200

CAPEC-328 TCP 'RST' Flag Checksum Probe via CWE-200

CAPEC-329 ICMP Error Message Quoting Probe via CWE-200

CAPEC-330 ICMP Error Message Echoing Integrity Probe via CWE-200

CAPEC-472 Browser Fingerprinting via CWE-200

CAPEC-474 Signature Spoofing by Key Theft via CWE-522

CAPEC-508 Shoulder Surfing via CWE-200

CAPEC-509 Kerberoasting via CWE-522

CAPEC-551 Modify Existing Service via CWE-522

CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-522

CAPEC-643 Identify Shared Files/Directories on System via CWE-200

CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-522

CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-522

CAPEC-50 Password Recovery Exploitation via CWE-522

CAPEC-292 Host Discovery via CWE-200

CAPEC-300 Port Scanning via CWE-200

CAPEC-309 Network Topology Mapping via CWE-200

CAPEC-312 Active OS Fingerprinting via CWE-200

CAPEC-313 Passive OS Fingerprinting via CWE-200

CAPEC-497 File Discovery via CWE-200

CAPEC-555 Remote Services with Stolen Credentials via CWE-522

CAPEC-573 Process Footprinting via CWE-200

CAPEC-574 Services Footprinting via CWE-200

CAPEC-575 Account Footprinting via CWE-200

CAPEC-576 Group Permission Footprinting via CWE-200

CAPEC-577 Owner Footprinting via CWE-200

CAPEC-600 Credential Stuffing via CWE-522

CAPEC-616 Establish Rogue Location via CWE-200

CAPEC-646 Peripheral Footprinting via CWE-200

CAPEC-651 Eavesdropping via CWE-200

CAPEC-652 Use of Known Kerberos Credentials via CWE-522

CAPEC-653 Use of Known Operating System Credentials via CWE-522

CAPEC-22 Exploiting Trust in Client via CWE-200

CAPEC-116 Excavation via CWE-200

CAPEC-169 Footprinting via CWE-200

CAPEC-224 Fingerprinting via CWE-200

CAPEC-560 Use of Known Domain Credentials via CWE-522

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A high severity vulnerability affects Github systems (CVE-2025-46820). No public exploit code is currently available. Apply available vendor patches promptly.

Vulnerability details: phpgt/Dom provides access to modern DOM APIs. Versions of phpgt/Dom prior to 4.1.8 expose the GITHUB_TOKEN in the Dom workflow run artifact. The ci.yml workflow file uses actions/upload-artifact@v4 to upload the build artifact. This artifact is a zip of the current directory, which includes the automatically generated .git/config file containing the run's GITHUB_TOKEN. Seeing as the artifact can be downloaded prior to the end of the workflow, there is a few seconds where an attacker can extract CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H.

Questions

What is CVE-2025-46820?

A high severity vulnerability affects Github systems (CVE-2025-46820). No public exploit code is currently available. Apply available vendor patches promptly.

What is the CVSS score for CVE-2025-46820?

CVE-2025-46820 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H. EPSS: 0.3%.

Is CVE-2025-46820 actively exploited?

No confirmed active exploitation of CVE-2025-46820 as of 2026-05-30.

How do I remediate CVE-2025-46820?

Priority: MEDIUM. Advisory: https://github.com/phpgt/Dom/commit/205cddcc82c002dfa48e874494efbf4c49497394

What systems are affected by CVE-2025-46820?

CVE-2025-46820 affects Github; Modern; Valid.

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":"EDS-518A","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-04-15.