Incorrect Behavior Order: Validate Before Canonicalize Affecting github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgi package, versions <2.11.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.54% (43rd 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-GITHUBCOMCADDYSERVERCADDYV2MODULESCADDYHTTPREVERSEPROXYFASTCGI-15364937
  • published28 Feb 2026
  • disclosed24 Feb 2026
  • creditKevin Dunglas

Introduced: 24 Feb 2026

CVE-2026-27590  (opens in a new tab)
CWE-180  (opens in a new tab)

How to fix?

Upgrade github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgi to version 2.11.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Behavior Order: Validate Before Canonicalize via the splitPos function. An attacker can cause unintended execution of files by crafting URLs with specific Unicode characters that manipulate the path splitting logic, potentially leading to execution of attacker-controlled files.

CVSS Base Scores

version 4.0
version 3.1