CVE-2025-47269

CVE-2025-47269 is a high-severity vulnerability with a CVSS 3.x base score of 8.3. Its EPSS exploit-prediction score of 34% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-441.

Key facts

Description

code-server runs VS Code on any machine anywhere through browser access. Prior to version 4.99.4, a maliciously crafted URL using the proxy subpath can result in the attacker gaining access to the session token. Failure to properly validate the port for a proxy request can result in proxying to an arbitrary domain. The malicious URL `https://<code-server>/proxy/[email protected]/path` would be proxied to `[email protected]/path` where the attacker could exfiltrate a user's session token. Any user who runs code-server with the built-in proxy enabled and clicks on maliciously crafted links that go to their code-server instances with reference to /proxy. Normally this is used to proxy local ports, however the URL can reference the attacker's domain instead, and the connection is then proxied to that domain, which will include sending cookies. With access to the session cookie, the attacker can then log into code-server and have full access to the machine hosting code-server as the user running code-server. This issue has been patched in version 4.99.4.

Frequently asked questions

What is CVE-2025-47269?
code-server runs VS Code on any machine anywhere through browser access. Prior to version 4.99.4, a maliciously crafted URL using the proxy subpath can result in the attacker gaining access to the session token. Failure to properly validate the port for a proxy request can result in proxying to an arbitrary domain. The malicious URL `https://<code-server>/proxy/[email protected]/path` would be proxied to `[email protected]/path` where the attacker could exfiltrate a user's session token. Any user who runs code-server with the built-in proxy enabled and clicks on maliciously crafted links that go to their code-server instances with reference to /proxy. Normally this is used to proxy local ports, however the URL can reference the attacker's domain instead, and the connection is then proxied to that domain, which will include sending cookies. With access to the session cookie, the attacker can then log into code-server and have full access to the machine hosting code-server as the user running code-server. This issue has been patched in version 4.99.4.
How severe is CVE-2025-47269?
CVE-2025-47269 has a CVSS 3.x base score of 8.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability low.
Is CVE-2025-47269 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 34% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
How do I fix CVE-2025-47269?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-47269 have an EU (EUVD) identifier?
Yes. CVE-2025-47269 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-14189.
When was CVE-2025-47269 published?
CVE-2025-47269 was published on 2025-05-09 and last updated on 2026-06-17.

References

Other CWE-441 vulnerabilities

Browse all CWE-441 vulnerabilities →