Read the docs
TI-2024-14251 Aliases CVE-2024-21494GHSA-vj36-3ccr-6563

Authentication bypass by spoofing in github.com/greenpau/caddy-security

Priority MEDIUM 58CWE-290Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Security bypass, Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-290 and CWE-79.

Summary

All versions of the package github.com/greenpau/caddy-security are vulnerable to Authentication Bypass by Spoofing via the X-Forwarded-For header due to improper input sanitization. An attacker can spoof an IP address used in the user identity module (/whoami API endpoint). This could lead to unauthorized access if the system trusts this spoofed IP address.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00519 44th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

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

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/greenpau/caddy-securityall versions—No fix listedCNA
—github.com/greenpau/caddy-security (Go)up to 1.1.23—No fix listedGHSA-vj36-3ccr-6563
  • github.com/greenpau/caddy-security Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/greenpau/caddy-security (Go) Vendor— Affected up to 1.1.23 Fixed in — No fix listed GHSA-vj36-3ccr-6563

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*all versionsVulnerableGreenpau
  • cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Greenpau

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21494
  2. 2026-10-03 Alias added: GHSA-vj36-3ccr-6563

References

  • TI-2024-14252 Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable… CVSS 3.1CRITICAL 9.8
  • TI-2024-14254 Open redirect in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 6.1
  • TI-2024-14250 Improper array index validation in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 5.3
  • TI-2024-14256 Improper output encoding in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 4.3

Sources