github.com/caddyserver/caddy/v2 vulnerabilities

Registry
Go
Latest
2.11.9

35 known advisories

The latest version, 2.11.9, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/caddyserver/caddy/v2@v2.11.9

Is your project on an affected github.com/caddyserver/caddy/v2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/caddyserver/caddy/v2

  • LowCVE-2026-55458GO-2026-68745 Nov 2026

    Caddy has an RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through in github.com/caddyserver/caddy

    Affected
    <2.11.5
    Fixed in
    2.11.5
  • LowCVE-2026-55458GHSA-8qx7-j2v2-x6q528 Oct 2026

    Caddy has an RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through

    Affected
    <2.11.5
    Fixed in
    2.11.5
  • LowCVE-2026-77281GO-2026-65121 Oct 2026

    Vulnerabilities in handler/placeholder layer in github.com/caddyserver/caddy

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • MediumCVE-2026-77281GHSA-j8px-rmrx-76h918 Sept 2026

    Caddy: rewrite placeholder re-expansion, unbounded body buffer DoS, and fileHidden case-sensitivity bypass

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • LowCVE-2026-52845GO-2026-534624 Jul 2026

    Caddy: FastCGI header normalization bypass in forward_auth copy_headers in github.com/caddyserver/caddy

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • LowGO-2026-540824 Jul 2026

    Caddy: Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching in github.com/caddyserver/caddy

    Affected
    <2.11.3
    Fixed in
    2.11.3
  • LowCVE-2026-45135GO-2026-549224 Jul 2026

    Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files in github.com/caddyserver/caddy

    Affected
    >=2.7.0 <2.11.3
    Fixed in
    2.11.3
  • LowCVE-2026-52844GO-2026-559524 Jul 2026

    Caddy: Windows file server path authorization bypass via encoded backslash in github.com/caddyserver/caddy

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • LowCVE-2026-52846GO-2026-566024 Jul 2026

    Caddy: stripHTML template function bypass in github.com/caddyserver/caddy

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • LowGO-2026-573024 Jul 2026

    Caddy CVE-2026-30852 Fix Bypass in github.com/caddyserver/caddy

    Affected
    >=2.11.0 <2.11.3
    Fixed in
    2.11.3
  • LowCVE-2026-45692GO-2026-57437 Jul 2026

    Remote Admin Authorization Bypass in "/config" API via Array Index Normalization in github.com/caddyserver/caddy

    Affected
    >=2.4.0 <2.11.3
    Fixed in
    2.11.3
  • MediumCVE-2026-52846GHSA-vcc4-2c75-vc9v16 Jun 2026

    Caddy: stripHTML template function bypass

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • HighCVE-2026-52845GHSA-f59h-q822-g45g16 Jun 2026

    Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • HighCVE-2026-52844GHSA-qrp7-cvwr-j2c616 Jun 2026

    Caddy: Windows `file_server` path authorization bypass via encoded backslash

    Affected
    <2.11.4
    Fixed in
    2.11.4
  • MediumGHSA-gx7w-56w6-g48x19 May 2026

    Caddy: Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching

    Affected
    <2.11.3
    Fixed in
    2.11.3
  • MediumGHSA-wwhq-w58m-w29c19 May 2026

    Caddy CVE-2026-30852 Fix Bypass

    Affected
    >=2.11.0 <=2.11.2
    Fixed in
    No fix released
  • MediumCVE-2026-45692GHSA-x5w9-xh9r-mvfc19 May 2026

    Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization

    Affected
    >=2.4.0 <2.11.3
    Fixed in
    2.11.3
  • HighCVE-2026-45135GHSA-m675-2p33-xv9g18 May 2026

    Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files

    Affected
    >=2.7.0 <2.11.3
    Fixed in
    2.11.3
  • LowCVE-2026-30851GO-2026-463910 Mar 2026

    Caddy forward_auth copy_headers allows Identity Injection and Privilege Escalation in github.com/caddyserver/caddy

    Affected
    >=2.10.0 <2.11.2
    Fixed in
    2.11.2
  • LowCVE-2026-30852GO-2026-464410 Mar 2026

    Caddy's vars_regexp double-expands user input, leaking env vars and files in github.com/caddyserver/caddy

    Affected
    >=2.7.5 <2.11.2
    Fixed in
    2.11.2
  • LowCVE-2026-27585GO-2026-453526 Feb 2026

    Improper sanitization of glob characters in github.com/caddyserver/caddy/v2

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • LowCVE-2026-27590GO-2026-453626 Feb 2026

    Unicode case-folding causes incorrect split_path index in github.com/caddyserver/caddy/v2

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • LowCVE-2026-27589GO-2026-453726 Feb 2026

    Caddy is vulnerable to cross-origin config application via local admin API /load in github.com/caddyserver/caddy/v2

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • LowCVE-2026-27587GO-2026-453826 Feb 2026

    Caddy MatchPath %xx branch skips case normalization in github.com/caddyserver/caddy/v2

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • LowCVE-2026-27586GO-2026-453926 Feb 2026

    Caddy mTLS authentication fails open in github.com/caddyserver/caddy/v2

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • LowCVE-2026-27588GO-2026-454126 Feb 2026

    Caddy MatchHost becomes case-sensitive in github.com/caddyserver/caddy/v2

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • HighCVE-2026-27590GHSA-5r3v-vc8m-m96g24 Feb 2026

    Caddy: Unicode case-folding length expansion causes incorrect split_path index in FastCGI transport

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • MediumCVE-2026-27589GHSA-879p-475x-rqh224 Feb 2026

    Caddy is vulnerable to cross-origin config application via local admin API /load

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • HighCVE-2026-27588GHSA-x76f-jf84-rqj824 Feb 2026

    Caddy: MatchHost becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • HighCVE-2026-27587GHSA-g7pc-pc7g-h8jh24 Feb 2026

    Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • HighCVE-2026-27586GHSA-hffm-g8v7-wrv724 Feb 2026

    Caddy: mTLS client authentication silently fails open when CA certificate file is missing or malformed

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • MediumCVE-2026-27585GHSA-4xrr-hq4w-6vf424 Feb 2026

    Caddy: Improper sanitization of glob characters in file matcher may lead to bypassing security protections

    Affected
    <2.11.1
    Fixed in
    2.11.1
  • LowCVE-2022-28923GO-2023-156716 Feb 2023

    Open redirect in github.com/caddyserver/caddy/v2

    Affected
    <2.5.0-beta.1
    Fixed in
    2.5.0-beta.1
  • MediumCVE-2022-28923GHSA-qpm3-vr34-h8w87 Feb 2023

    Open Redirect in Caddy

    Affected
    <2.5.0-beta.1
    Fixed in
    2.5.0-beta.1
  • MediumCVE-2022-29718GHSA-2927-hv3p-f3vp3 Jun 2022

    Open redirect in caddy

    Affected
    <2.5.0
    Fixed in
    2.5.0

Is your github.com/caddyserver/caddy/v2 version vulnerable?

Which of your client projects still run an old github.com/caddyserver/caddy/v2?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.