Read the docs
TI-2019-15265 Aliases CVE-2019-25211GHSA-869c-j7wc-8jqv

parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the…

Priority MEDIUM 48CWE-346Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-346.

Summary

parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00431 37th percentileScored 2026-11-07
Fix Partial github.com/gin-gonic/gin (Go): 1.6.0github.com/gin-contrib/cors (Go): 1.6.0Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—github.com/gin-gonic/gin (Go)before 1.6.01.6.0Patch availableGHSA-869c-j7wc-8jqv
—github.com/gin-contrib/cors (Go)before 1.6.01.6.0Patch availableGHSA-869c-j7wc-8jqv
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/gin-gonic/gin (Go) Vendor— Affected before 1.6.0 Fixed in 1.6.0 Patch available GHSA-869c-j7wc-8jqv
  • github.com/gin-contrib/cors (Go) Vendor— Affected before 1.6.0 Fixed in 1.6.0 Patch available GHSA-869c-j7wc-8jqv

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:gin-contrib:cors:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:gin-contrib:cors:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

  • Fix · GHSA-869c-j7wc-8jqv github.com/gin-gonic/gin (Go) Fixed in 1.6.0 Advisory →
  • Fix · GHSA-869c-j7wc-8jqv github.com/gin-contrib/cors (Go) Fixed in 1.6.0 Advisory →

Red Hat 1 advisory

  • RHSA-2024:7164 Released 2024-09-26 · Red Hat rating Important
    Migration Toolkit for Containers (MTC) 1.8.4 security and bug fix update
    • 8Base-RHMTC-1.8 rhmtc/openshift-migration-controller-rhel8, rhmtc/openshift-migration-registry-rhel8, rhmtc/openshift-migration-ui-rhel8

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
8Base-RHMTC-1.8Fixed RHSA-2024:7164
Not affected: 1 product
  • 8Base-RHMTC-1.8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-25211
  2. 2026-10-03 Alias added: GHSA-869c-j7wc-8jqv

References

Sources