{"schemaVersion":3,"id":"CVE-2026-30851","aliases":["UBUNTU-CVE-2026-30851","GHSA-7r4p-vjf4-gxv4","GO-2026-4639"],"status":"published","duplicateOf":null,"title":null,"description":"Caddy is an extensible server platform that uses TLS by default. From version 2.10.0 to before version 2.11.2, forward_auth copy_headers does not strip client-supplied headers, allowing identity injection and privilege escalation. This issue has been patched in version 2.11.2.","dates":{"published":"2026-03-07T16:28:37.097Z","modified":"2026-03-09T18:24:49.691Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0036,"percentile":0.28413,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.11099999999999999,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00249},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0036,"percentile":0.28413}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00249,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0036,"percentile":0.28413}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CADDYSERVER_CADDY","name":"Caddy","source":"github","url":"https://github.com/caddyserver/caddy/issues/4775","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"}],"affected":[{"vendor":"caddyserver","product":"caddy","name":"caddy","label":"caddy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.10.0, < 2.11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.10.0, < 2.11.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"caddy","label":"Caddy","category":"server-app"}},"hubHref":"/vendor/caddyserver/caddy"},{"vendor":"ubuntu","product":"caddy","name":"caddy","label":"caddy","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/caddy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/caddyserver/caddy","product":"v2","name":"github.com/caddyserver/caddy/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/caddyserver/caddy/v2","purlType":"golang","versions":[{"text":"≥ 2.10.0, < 2.11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.10.0, < 2.11.2","eol":null,"hubHref":null},{"vendor":"github.com/caddyserver/caddy/v2/modules/caddyhttp","product":"reverseproxy","name":"github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy","label":"reverseproxy","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy","purlType":"golang","versions":[{"text":"≥ 2.10.0, < 2.11.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.10.0, < 2.11.2","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4","label":"github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory","Exploit","Mitigation","Patch","Vendor Advisory"]},{"url":"https://github.com/caddyserver/caddy/issues/6610","label":"github.com/caddyserver/caddy/issues/6610","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Issue Tracking"]},{"url":"https://github.com/caddyserver/caddy/pull/6608","label":"github.com/caddyserver/caddy/pull/6608","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","FIX","Issue Tracking","Patch"]},{"url":"https://github.com/caddyserver/caddy/pull/7545","label":"github.com/caddyserver/caddy/pull/7545","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","FIX","Issue Tracking","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-30851","label":"ubuntu.com/security/CVE-2026-30851","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-30851","label":"www.cve.org/CVERecord?id=CVE-2026-30851","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30851","label":"nvd.nist.gov/vuln/detail/CVE-2026-30851","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/caddyserver/caddy","label":"github.com/caddyserver/caddy","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:1042-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:1042-1"]},"timeline":[{"kind":"published","date":"2026-03-07T16:28:37.097Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-09T18:24:49.691Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:10:31.368Z","stale":false,"partial":false}}