CVE-2023-50463
mediumpriority · track · 26EPSS 0.007 · 51 %ileEUUSEPSS · scored 2026-10-28
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-rxg9-hgq7-8pwxHeader spoofing in caddy-geo-ip2023-12-11ghsa · osvUS
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).
- GO-2023-2394Spoofed source IP address in github.com/shift72/caddy-geo-ip2024-01-02vendor · osvUS
The caddy-geo-ip (aka GeoIP) middleware for Caddy 2 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).
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-50463/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-50463cnnvd
- https://caddyserver.com/v2enisa_euvd
- https://github.com/shift72/caddy-geo-ip/issues/4enisa_euvd
- https://github.com/shift72/caddy-geo-ip/tagsenisa_euvd
- https://caddyserver.com/v2Broken Linknvd
- https://github.com/shift72/caddy-geo-ip/issues/4Third Party Advisorynvd
- https://github.com/shift72/caddy-geo-ip/tagsRelease Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan