Live threats

All CVEs / Caddyserver

CVE-2023-50463Caddyserver Caddy

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Dec 10, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-290
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trust_header X-Forwarded-For is used, allows attackers to spoof their source IP address via an X-Forwarded-For header, which may bypass a protection mechanism (trusted_proxy directive in reverse_proxy or IP address range restrictions).

Original NVD text.

What to do

  1. Apply the vendor's security update for Caddy.
  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/shift72/caddy-geo-ip ≤ 0.6.0 no fixed version —
Go github.com/shift72/caddy-geo-ip all no fixed version —

Per OSV / GitHub Advisories (GHSA-rxg9-hgq7-8pwx, GO-2023-2394). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
caddyservercaddy≤ 0.6.0

Official sources

References

Links published by the sources. Open them with care.