# CVE-2023-50463: Header spoofing in caddy-geo-ip

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2023-12-10T00:00:00.000Z
- Modified: 2026-06-17T06:39:42.073Z
- Also known as: GHSA-rxg9-hgq7-8pwx, GO-2023-2394
- Weaknesses: CWE-290
- Assigned by: mitre

## Description

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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/shift72/caddy-geo-ip (Go): up to 0.6.0; all versions
- caddyserver caddy: up to 0.6.0

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/shift72/caddy-geo-ip/issues/4> (report, third-party-advisory, web)
- <https://github.com/shift72/caddy-geo-ip/tags> (release-notes, web)
- <https://caddyserver.com/v2> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50463> (advisory)

## Sources

- CVE List: [CVE-2023-50463](https://www.cve.org/CVERecord?id=CVE-2023-50463), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-rxg9-hgq7-8pwx](https://github.com/advisories/GHSA-rxg9-hgq7-8pwx), CC-BY-4.0, modified 2024-01-02
- Go Vulnerability Database: [GO-2023-2394](https://pkg.go.dev/vuln/GO-2023-2394), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2023-50463](https://nvd.nist.gov/vuln/detail/CVE-2023-50463), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50463 · Whole record: https://cve.day/CVE-2023-50463.json · Rebuilt by cve.day 2026-11-25T22:58:31.190Z
