{
  "id": "ghsa-f278-mgc7-46j3",
  "title": "Bynario AI identifies Caddy php_fastcgi authorization bypass",
  "product": "Caddy php_fastcgi FastCGI routing",
  "ai_system": "Bynario AI automated pipeline",
  "organization": "Bynario; Caddy maintainers",
  "summary": "When an index.php file is absent, Caddy's php_fastcgi fallback can fail to rewrite a dot-segment request. Path matchers authorize the cleaned path while the FastCGI transport executes a script named by the raw path, allowing access-control rules to be bypassed.",
  "ai_role": "The Caddy maintainer advisory explicitly says Bynario AI identified and validated the issue; the technical report was partly AI-written and manually reviewed. The advisory was published 2026-11-04, the known public AI-attribution date. The private discovery/report date and model version are not stated.",
  "disclosure_date": "2026-11-04",
  "ai_attribution_date": "2026-11-04",
  "classification": "disclosure",
  "classification_note": "The maintainer advisory discloses the issue and patch. It does not claim exploitation in the wild.",
  "cves": [],
  "source_url": "https://github.com/CaddyServer/caddy/security/advisories/GHSA-f278-mgc7-46j3",
  "ai_source_url": "https://github.com/CaddyServer/caddy/security/advisories/GHSA-f278-mgc7-46j3",
  "remediation": "fix documented",
  "remediation_note": "Fixed in Caddy v2.11.8. The authorization bypass applies to configurations where php_fastcgi's rewrite route does not run, including the documented default when index.php is absent; the advisory describes additional configuration prerequisites for RCE escalation.",
  "advisory_url": "https://github.com/CaddyServer/caddy/security/advisories/GHSA-f278-mgc7-46j3",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "code execution",
        "other"
      ],
      "conditions": "Requires an affected php_fastcgi route configuration (for example, no index.php candidate or index disabled) and a known existing .php file. A remote unauthenticated request with cleaned-path mismatch bypasses authorization; with an attacker-controlled PHP file, the advisory demonstrated remote code execution. Sites with an index.php/front controller are masked.",
      "exploitation": "The advisory reports a demonstrated reproduction; it does not establish exploitation in the wild.",
      "source_url": "https://github.com/CaddyServer/caddy/security/advisories/GHSA-f278-mgc7-46j3",
      "checked_date": "2026-11-16"
    }
  ]
}
