{"id":"CVE-2026-77281","revision":"3a7817006afb41ab82f647fe2a3550a4","records":[{"revision":"3a7817006afb41ab82f647fe2a3550a4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-77281","aliases":[],"title":"Caddy: rewrite placeholder re-expansion","description":"Caddy is an extensible server platform that uses TLS by default. In version 2.11.3 and earlier, three configuration-dependent weaknesses affect the handler and placeholder layer. In modules/caddyhttp/rewrite/rewrite.go, Rewrite.Rewrite() can pass attacker-controlled replacement bytes through buildQueryString for a second placeholder expansion when a rewrite URI ends with a literal question mark, allowing injected environment or request-variable placeholders to disclose data and, when the file provider is registered, allowing injected file placeholders to disclose readable files. The  issue is fixed in version 2.11.4.","state":0,"publishedAt":"2026-09-17T21:04:58.4+00:00","modifiedAt":"2026-09-18T14:43:34.818+00:00","affected":[{"ecosystem":"Vendor product","name":"caddy","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"caddyserver\",\n                    \"product\": \"caddy\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.11.4\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/caddyserver/caddy/security/advisories/GHSA-j8px-rmrx-76h9","https://github.com/caddyserver/caddy/pull/7761","https://github.com/caddyserver/caddy/commit/176b043b0104cee3f894023cd5a598ac29e404bb","https://github.com/caddyserver/caddy/releases/tag/v2.11.4"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-77281","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-77281","identifiers":["CVE-2026-77281"]},"retained":false,"historicalAffected":[]}],"coverage":[]}