Cross-site Request Forgery (CSRF) Affecting github.com/caddyserver/caddy/v2/cmd package, versions <2.11.0-beta.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCADDYSERVERCADDYV2CMD-15364932
  • published28 Feb 2026
  • disclosed24 Feb 2026
  • creditOleh Konko

Introduced: 24 Feb 2026

CVE-2026-27589  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade github.com/caddyserver/caddy/v2/cmd to version 2.11.0-beta.1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) through the adminLoad.handleLoad process. An attacker can modify the running configuration and alter server behavior by sending cross-origin requests to the local admin API when origin enforcement is not enabled. This is only exploitable if the admin API is enabled and the victim visits an attacker-controlled web page or issues a request from an untrusted local client.

CVSS Base Scores

version 4.0
version 3.1