Description
serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| expressjs | serve-static | < 1.16.0, >= 2.0.0, < 2.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-serve-static | 2.1.0+~1.15.7-1 | — |
| Debian 13 | node-serve-static | 2.1.0+~1.15.7-1 | — |
| Debian 12 | node-serve-static | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-serve-static | No fix yet | — |
| Ubuntu 26.04 LTS | node-serve-static | No fix yet | — |
| Ubuntu 25.10 | node-serve-static | No fix yet | — |
| Ubuntu 24.04 LTS | node-serve-static | No fix yet | — |
| Ubuntu 22.04 LTS | node-serve-static | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-serve-static | No fix yet | — |
| Ubuntu 18.04 LTS | node-serve-static | No fix yet | — |
| Ubuntu 16.04 LTS | node-serve-static | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs-nodemon | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | nodejs-nodemon | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | reaper | 3.1.1-13 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | argo-workflows | 3.6.5-r2 | — |
| Wolfi rolling | kubeflow-centraldashboard | 1.9.0-r4 | — |
| Wolfi rolling | kubeflow-pipelines +11 | 2.2.0-r12 | — |
| Wolfi rolling | sqlpad +1 | 7.5.0-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | serve-static | < 1.16.0 | 1.16.0 | GHSA-cm22-4g7w-348p |
| npm | serve-static | >= 2.0.0, < 2.1.0 | 2.1.0 | GHSA-cm22-4g7w-348p |
Advisories 4
- WID-SEC-2024-3250 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 8, 2026
- WID-SEC-2024-2197 IBM App Connect Enterprise: Mehrere Schwachstellen ermöglichen Cross-Site Scripting und Server-Side Request Forgery BSI CERT-Bund (WID) · Jan 25, 2026
- WID-SEC-2025-0043 IBM QRadar SIEM (Log Source Management App): Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2025
- WID-SEC-2024-3344 HCL BigFix WebUI: Mehrere Open Source Schwachstellen BSI CERT-Bund (WID) · Dec 18, 2024