AI Science Tracker

Caddy file_server can expose private TLS keys when its data directory falls back to the working directory

Caddy HTTP file server · AI involvement attributed to Anthropic OSS Scanner (model unspecified)

Finding and attribution

When neither HOME nor XDG_DATA_HOME is set, Caddy places certificates and local CA keys under ./caddy. If a file_server serves the working directory, anonymous clients can download those private keys and use them to impersonate the site or mint certificates trusted by clients that installed the local CA. The advisory limits exposure to deployments that lack both home-directory variables and serve the working directory.

Product: Caddy HTTP file server. AI system: Anthropic OSS Scanner (model unspecified). Team / organization: Anthropic and project maintainers.

CVE identifiers: Not established in the cited evidence.

AI and human contribution (source account): The primary Caddy advisory directly credits Anthropic OSS Scanner as finding ANT-2026-JBWWW7FF and provides a reproducer and impact description. Anthropic’s primary scanner page establishes model-based scanner provenance. The advisory does not identify the model for this case.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The primary maintainer published GHSA-jf74-f69g-hcj9 on 2026-11-04 and directly credits Anthropic OSS Scanner (ANT-2026-JBWWW7FF). For filelock, the source records private scanner report receipt on Oct 15; the public advisory attribution date remains Oct 17.

Remediation status: fix documented. Caddy 2.11.8 hides the absolute data-directory path when AppDataDir is relative, covering Caddyfile, JSON, and file-server command configurations.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 4 Nov 2026. AI attribution dated 4 Nov 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: Not available · no assessment established here. Documented technical effects: data disclosure.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

No source-backed CVSS assessment is established in this catalog.

Case-level evidence: data disclosure.
Prerequisites / affected scope: When both HOME and XDG_DATA_HOME are unset and the working directory is served, anonymous clients can download TLS private keys and local CA keys; those keys can enable site impersonation or trusted certificate minting..
Exploitation evidence: The cited source does not establish exploitation in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: Caddy 2.11.8 hides the absolute data-directory path when AppDataDir is relative, covering Caddyfile, JSON, and file-server command configurations.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases