Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-2615 Overview
GitLab has patched an information disclosure vulnerability affecting GitLab Community Edition (CE) and Enterprise Edition (EE). The flaw allows a blocked user to access sensitive information by establishing GraphQL subscriptions through WebSocket connections. The issue affects all versions from 16.7 before 18.3.6, 18.4 before 18.4.4, and 18.5 before 18.5.2. The vulnerability is categorized under [CWE-201: Insertion of Sensitive Information Into Sent Data]. Exploitation requires an authenticated account, even one previously blocked by an administrator, and can be performed remotely over the network.
Critical Impact
Blocked GitLab users can bypass access restrictions and retrieve sensitive project data through persistent GraphQL WebSocket subscriptions, undermining account revocation controls.
Affected Products
- GitLab Community Edition (CE) versions 16.7 through 18.3.5
- GitLab Enterprise Edition (EE) versions 18.4 before 18.4.4
- GitLab CE/EE 18.5 before 18.5.2
Discovery Timeline
- 2025-11-15 - CVE-2025-2615 published to the National Vulnerability Database (NVD)
- 2025-11-12 - GitLab released patch versions 18.5.2, 18.4.4, and 18.3.6
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-2615
Vulnerability Analysis
The flaw resides in GitLab's GraphQL subscription mechanism served over WebSocket connections. GraphQL subscriptions maintain persistent, bidirectional channels that push data updates from the server to subscribed clients. In affected GitLab versions, the subscription endpoint failed to fully enforce user status checks against the account's blocked state.
An administrator who blocks a user expects immediate revocation of that user's access to projects, issues, and repository events. This vulnerability breaks that assumption. The blocked account can still establish a WebSocket handshake and register subscriptions that continue streaming sensitive data to the attacker. The classification [CWE-201] indicates sensitive information is transmitted to an unauthorized recipient through legitimate response channels.
Root Cause
The subscription authorization layer did not consistently validate the account state when establishing or sustaining WebSocket connections. Traditional REST and web session middleware in GitLab enforces the blocked user check on each request. The GraphQL-over-WebSocket handler did not apply equivalent enforcement, allowing subscriptions initiated with valid session credentials to persist beyond an administrative block action.
Attack Vector
Exploitation requires an authenticated GitLab account. The attacker connects to the GraphQL WebSocket endpoint (typically /-/cable) using valid session credentials, subscribes to channels covering projects or issues, and receives streamed updates. If the account is subsequently blocked, the persistent subscription continues to deliver data. Refer to the GitLab Issue Tracker #526360 and the HackerOne Report #3049150 for the technical write-up.
No public proof-of-concept exploit is available at the time of publication, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2025-2615
Indicators of Compromise
- Active WebSocket connections to the /-/cable GraphQL subscription endpoint originating from user accounts marked as blocked in the GitLab administration console.
- Unexpected outbound data volume from GitLab application servers to sessions associated with deactivated or blocked users.
- ActionCable log entries showing subscription events (subscribe, receive) tied to user IDs whose state column equals blocked in the users table.
Detection Strategies
- Cross-reference GitLab production logs (production_json.log, graphql_json.log) with the user state table to identify subscriptions held by blocked accounts.
- Enable GraphQL request logging and audit subscription operations against project resources for users lacking active session privileges.
- Monitor Rails ActionCable connection lifecycle events and alert on subscriptions persisting beyond an administrative block action.
Monitoring Recommendations
- Forward GitLab application logs to a centralized logging platform and build correlation rules that join user administrative actions with active WebSocket sessions.
- Track anomalies in long-lived WebSocket connections per user account, flagging sessions that survive account status changes.
- Review audit events for the user_blocked action and verify that all subsequent GraphQL activity from the affected user ID terminates within an expected time window.
How to Mitigate CVE-2025-2615
Immediate Actions Required
- Upgrade GitLab CE/EE to version 18.5.2, 18.4.4, or 18.3.6 as documented in the GitLab Patch Release Announcement.
- Audit currently blocked user accounts and forcibly terminate any active sessions or WebSocket connections tied to them.
- Rotate any personal access tokens, deploy keys, or credentials that may have been observable through project subscription streams.
Patch Information
GitLab released fixed builds on November 12, 2025. Upgrade paths are available for the 18.3.x, 18.4.x, and 18.5.x release branches. Self-managed administrators should apply the patch through their standard upgrade procedure or Omnibus package. GitLab.com SaaS instances were patched by GitLab. Refer to the vendor advisory for release notes and checksums.
Workarounds
- If immediate patching is not possible, restart GitLab Puma and Sidekiq workers after blocking a user to force termination of persistent WebSocket connections.
- Restrict access to the /-/cable endpoint at the reverse proxy layer for user IDs known to be blocked until the patch is applied.
- Reduce reliance on user blocking as a security boundary and instead delete or fully deactivate compromised accounts, which removes their session tokens.
# Verify the running GitLab version and upgrade the Omnibus package
sudo gitlab-rake gitlab:env:info | grep "GitLab information" -A 5
sudo apt-get update && sudo apt-get install gitlab-ee=18.5.2-ee.0
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

