CVE-2025-47908github.com/rs/cors
High 7.5 No auth needed
Follow: this CVE · github.com/rs/cors · github.com/rs/cors We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 6, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.
What to do
- Apply the vendor's security update for github.com/rs/cors.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/rs/cors |
≥ 1.9.0 < 1.11.0 |
1.11.0 |
go get github.com/rs/cors@v1.11.0 |
| Go | github.com/rs/cors |
≥ 1.9.0 < 1.11.0 |
1.11.0 |
go get github.com/rs/cors@v1.11.0 |
Per OSV / GitHub Advisories (GHSA-mh55-gqvf-xfwm, GO-2024-2883). Check the version in your lockfile before upgrading.
Affected products
- github.com/rs/cors · github.com/rs/cors
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for golang-github-prometheus-alertmanager · SUSE · openSUSE-SU-2026:21136-1 · Jun 18, 2026 High
- Security update for golang-github-prometheus-alertmanager · SUSE · SUSE-SU-2025:4481-1 · Dec 18, 2025 High
- Security update 5.0.6 for Multi-Linux Manager Client Tools · SUSE · SUSE-SU-2025:4457-1 · Dec 18, 2025 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.