Vulnerability · GHSA-25cw-38mq-q7m6
file matcher resolves /file/./ to a regular file, bypassing suffix path rules
Published Nov 4, 2026 · catalog updated Nov 4, 2026 · file matcher resolves /file/./
Last checked Nov 4, 2026. A connected source was read within the last 7 days.
Open the advisory
Exploitation likelihood is not on this record for GHSA-25cw-38mq-q7m6. A missing EPSS score is not a low risk. Compare file matcher resolves /file/./ with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (file matcher resolves /file/./).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- Medium—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Version ranges on file
- Affected products
- go github.com/caddyserver/caddy/v2
### Summary resolves to the regular file , while path matchers see . A rule such as placed before the rewrite doesn't match, and serves the file without its canonical redirect. and FrankenPHP's are affected through their built-in try_files route. ### Details The matcher ( ) runs on each expanded candidate, which drops the trailing slash, and restores it only when the try_files pattern itself ends in . So resolves to the regular file and rewrites the request to it. Path matchers see for that request, so suffix rules, exact paths, globs ending in a file name and -anchored evaluated before the rewrite don't match. then skips its canonical redirect because of the original path ( ) and of the rewritten path ( ) differ, and serves the file. Fix: keep the trailing slash of the expanded candidate through . already requires a candidate ending in to be a directory, so and no longer match the regular file, while still matches the directory and keeps working. Patch: public PR from . Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-VAGWNYYZ. ### Proof of concept The same works with followed by . ### Impact Unauthenticated clients read static files ( , backups, configuration) that a suffix or exact path rule is meant to block. Prefix rules and still block. Nothing gets executed.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- go github.com/caddyserver/caddy/v2<= 2.11.7
How to fix GHSA-25cw-38mq-q7m6
Upgrade
GHSA-25cw-38mq-q7m6 lists a fix boundary at 2.11.7. Compare the installed build with that boundary before you change production.
Version check
Affected <= 2.11.7
Advisory
Open the inventory_github record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for GHSA-25cw-38mq-q7m6. A missing EPSS score is not a low risk. Compare file matcher resolves /file/./ with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with <= 2.11.7. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-41. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Nov 4, 2026 · Maintainer security tabs
Detected
### Summary resolves to the regular file , while path matchers see . A rule such as placed before the rewrite doesn't match, and serves the file without its canonical redirect. and FrankenPHP's are affected through their built-in try_files route. ### Details The matcher ( ) runs on each expanded candidate, which drops the trailing slash, and restores it only when the try_files pattern itself ends
Nov 4, 2026 · Maintainer security tabs
Updated
### Summary resolves to the regular file , while path matchers see . A rule such as placed before the rewrite doesn't match, and serves the file without its canonical redirect. and FrankenPHP's are affected through their built-in try_files route. ### Details The matcher ( ) runs on each expanded candidate, which drops the trailing slash, and restores it only when the try_files pattern itself ends
Sources
- Maintainer security tabsVendor advisoryGHSA-25cw-38mq-q7m6
### Summary resolves to the regular file , while path matchers see . A rule such as placed before the rewrite doesn't match, and serves the file without its canonical redirect. and FrankenPHP's are affected through their built-in try_files route. ### Details The matcher ( ) runs on each expanded candidate, which drops the trailing slash, and restores it only when the try_files pattern itself ends
github.com
Freshness
Last verified in this catalog Nov 4, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Maintainer security tabsNov 4, 2026