GHSA-gmfw-g93r-vg53 is a low-severity (CVSS 3.1) Missing Authentication vulnerability in open-webui. O3 Security confirms whether GHSA-gmfw-g93r-vg53 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
Open WebUI: Unauthenticated WebSocket Access to Collaborative Document Handlers (ydoc:awareness:update, ydoc:document:leave)
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-gmfw-g93r-vg53.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
GHSA-gmfw-g93r-vg53 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 370,894 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
open-webuiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Summary
The Socket.IO server is configured with always_connect=True (lines 78, 91 in backend/open_webui/socket/main.py) and the connect handler (line 329) never rejects unauthenticated connections. Two Ydoc event handlers have zero authentication checks, allowing unauthenticated clients to interact with collaborative document sessions.
Vulnerable Code
ydoc:awareness:update (line 741) — No auth check at all
@sio.on('ydoc:awareness:update')
async def yjs_awareness_update(sid, data):
document_id = data['document_id']
user_id = data.get('user_id', sid)
update = data['update']
# No SESSION_POOL check, no room membership check
await sio.emit(
'ydoc:awareness:update',
{'document_id': document_id, 'user_id': user_id, 'update': update},
room=f'doc_{document_id}',
skip_sid=sid,
)
ydoc:document:leave (line 711) — No auth check at all
@sio.on('ydoc:document:leave')
async def yjs_document_leave(sid, data):
document_id = data['document_id']
user_id = data.get('user_id', sid)
# No auth check
await YDOC_MANAGER.remove_user(document_id=document_id, user_id=sid)
await sio.emit('ydoc:user:left',
{'document_id': document_id, 'user_id': user_id},
room=f'doc_{document_id}')
Root Cause: always_connect=True (line 78)
sio = socketio.AsyncServer(
always_connect=True, # Never rejects connections
...
)
The connect handler (line 329) adds authenticated users to SESSION_POOL but never returns False or raises an exception for unauthenticated connections.
Exploitation
- An unauthenticated attacker connects via Socket.IO (no token needed)
- The attacker emits
ydoc:awareness:updatewith:document_id: a known/guessed note UUID (format:note:{uuid})user_id: spoofed to impersonate any userupdate: arbitrary awareness data (fake cursor positions, selections)
- The fake awareness data is broadcast to all legitimate users in the document room
- The attacker can also emit
ydoc:document:leavewith spoofeduser_idto broadcast fakeydoc:user:leftevents
Impact
- UI disruption: Fake cursor positions and user presence in collaborative editing sessions
- User impersonation: Attacker can spoof any
user_idin awareness updates - Resource exhaustion: Unlimited unauthenticated WebSocket connections maintained by the server
Note: Other Ydoc handlers (ydoc:document:join, ydoc:document:update, ydoc:document:state) correctly check SESSION_POOL membership.
Suggested Fix
- Set
always_connect=Falseor reject unauthenticated connections in theconnecthandler - Add
SESSION_POOLchecks toydoc:awareness:updateandydoc:document:leave - Add room membership verification before broadcasting to document rooms
AI Disclosure (per Rule 11): AI (Claude) was used to assist with source code review, identifying potential vulnerability patterns, and drafting this report. The researcher directed the analysis, selected focus areas, and independently verified all findings against a running v0.8.12 Docker instance using real HTTP requests with two test accounts. The PoCs included are reproducible and were confirmed live before submission.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | open-webui | ≥ 0.6.16&&< 0.10.0 | 0.10.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for open-webui. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update open-webui to 0.10.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-gmfw-g93r-vg53 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-gmfw-g93r-vg53 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-gmfw-g93r-vg53. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-gmfw-g93r-vg53 in your dependencies?
O3 detects GHSA-gmfw-g93r-vg53 across PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.