go package report

Is github.com/caddyserver/caddy/v2/modules/caddyhttp safe?

1 known vulnerability, worst severity MODERATE.

cvss
5.5

how bad it is if exploited, out of 10

epss
0.40%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-m2w3-8f23-hxxf, the advisory selected below

// advisories

GHSA-m2w3-8f23-hxxf

MODERATECVE-2026-30852

The varsregexp matcher in vars.go:337 double-expands user-controlled input through the Caddy replacer. When varsregexp matches against a placeholder like {http.request.header.X-Input}, the header value gets resolved once (expected), then passed through repl.ReplaceAll() again (the bug). This means an attacker can put {env.DATABASEURL} or {file./etc/passwd} in a request header and the server will e

Affected
>= 2.7.5, <= 2.11.1
Fixed in
2.11.2
Weakness
CWE-74
Published
2026-03-06
Source
github

GHSANVDMITREreferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so go packages are not covered.


Checked 2026-09-22 at 01:43 UTC. The most recent advisory here was published 2026-03-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is github.com/caddyserver/caddy/v2/modules/caddyhttp safe? go package security report | CyberXYZ