CVE-2025-47269code-server session cookie can be extracted by having user visit specially crafted proxy URL
- 8.3HighCVSS base score
- 56.3%Exploitation in 30 daysEPSS · top 0.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 4 days later
· 4 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
| NVDNVD · Deferred | 3.1 | High8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 56.3% · top 0.9% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.3.
Affected products
- affected < 4.99.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmcode-serverGHSA-p483-wpfp-42cj (opens in a new tab)
References
References3
- https://github.com/coder/code-server/security/advisories/GHSA-p483-wpfp-42cj (opens in a new tab)x_refsource_CONFIRM
- https://github.com/coder/code-server/commit/47d6d3ada5aadef6d221f3d612401eb3dad9299e (opens in a new tab)x_refsource_MISC
- https://github.com/coder/code-server/releases/tag/v4.99.4 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-14189 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p483-wpfp-42cj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-47269)Record last updated .