Skip to content

fix: the websocket proxy routes /proxy/:port and /ab... in index.ts#7766

Open
orbisai0security wants to merge 1 commit intocoder:mainfrom
orbisai0security:fix-v-006-ws-proxy-auth
Open

fix: the websocket proxy routes /proxy/:port and /ab... in index.ts#7766
orbisai0security wants to merge 1 commit intocoder:mainfrom
orbisai0security:fix-v-006-ws-proxy-auth

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix critical severity security issue in src/node/routes/index.ts.

Vulnerability

Field Value
ID V-006
Severity CRITICAL
Scanner multi_agent_ai
Rule V-006
File src/node/routes/index.ts:116

Description: The WebSocket proxy routes /proxy/:port and /absproxy/:port at src/node/routes/index.ts:116 and :128 do not enforce authentication. Any unauthenticated attacker with network access to the code-server instance can use these endpoints as a tunnel to reach any service listening on any TCP port on the host machine, including databases, SSH, Redis, and internal admin panels. Unlike the /update/check route which explicitly applies ensureAuthenticated middleware, these proxy routes have no confirmed authentication enforcement.

Changes

  • src/node/routes/index.ts

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
@orbisai0security orbisai0security requested a review from a team as a code owner April 29, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant