Live threats

All CVEs / github.com/rs/cors

CVE-2025-47908github.com/rs/cors

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for github.com/rs/cors.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.