{"id":"CVE-2026-89186","aliases":["EEF-CVE-2026-89186","GHSA-82qh-vrvm-gqvc"],"title":"mpp writes Payment-Receipt and Cache-Control before the wrapped application runs, letting a consumer's own Cache-Control expose paid responses to shared caches","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nUse of Cache Containing Sensitive Information in ZenHive mpp allows a shared HTTP cache to store a paid response and serve it to clients that never paid.\n\n`MPP.Plug.verify_credential` in `lib/mpp/plug.ex` sets `payment-receipt` and `cache-control: private` on the connection before the wrapped application runs, and registers no `register_before_send/2` callback. `Plug.Conn.put_resp_header/3` replaces an existing header, so a mounting application that sets its own `cache-control` on the paid resource (for example `public, max-age=3600`) silently overrides the `private` the library relies on, and a CDN or reverse proxy can then store the paid 200 together with its `Payment-Receipt` and serve both to unpaid clients. The library-level guarantee is therefore defeatable by the application it protects. For the same reason a downstream non-2xx response still carried `Payment-Receipt`, issuing a receipt for a response that delivered no resource.\n\nThis issue affects mpp: from 0.1.0 before 0.16.2.\n\n## Impact\n\nAn unpaid client requesting the same URL through the shared cache receives the cached paid response, including the `Payment-Receipt` header issued to the paying client. Operators lose the revenue for every cache hit, and the receipt identifying a paid transaction is disclosed to third parties.\n\n## Workarounds\n\nIn the application mounted behind `MPP.Plug`, stop setting `Cache-Control` on paid routes so the library's `private` survives to the response, or set a directive that is itself safe for a shared cache (`private`, or `no-store`). Where the application must set its own caching policy, configure the CDN or reverse proxy not to cache responses carrying a `Payment-Receipt` header.\n\n## Configurations\n\nReachable only where the application mounted behind `MPP.Plug` sets its own `Cache-Control` on the paid resource, overriding the `private` the library wrote, and a shared HTTP cache (CDN or reverse proxy) sits in front of that route. An application that sets no `Cache-Control` of its own keeps the library's `private` and is not affected.","severity":"medium","score":6.3,"published":"2026-09-16T08:24:15.058Z","modified":"2026-11-21T17:23:05.266Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"mpp","sources":[{"name":"OSV · EEF-CVE-2026-89186","url":"https://osv.dev/vulnerability/EEF-CVE-2026-89186"}],"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"0.16.2"}],"type":"SEMVER"}],"versions":["0.1.0","0.1.1","0.10.0","0.11.0","0.12.0","0.13.0","0.14.0","0.15.0","0.16.0","0.16.1","0.2.0","0.3.0","0.3.1","0.3.2","0.4.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.8.0","0.9.0"],"fixed":["0.16.2"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"2d4d1d94aae7790ae0623063961adbeef171fa71"},{"fixed":"2fd91a5ecbd0b0ad2a4ac202b79659e8126dbc0b"}],"type":"GIT","repo":"https://github.com/ZenHive/mpp"}],"versions":["v0.16.1","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.6.4","v0.6.3","v0.6.1","v0.6.0","v0.5.1","v0.4.0","v0.3.0","v0.2.0","v0.1.0"]}],"references":["https://github.com/ZenHive/mpp/security/advisories/GHSA-82qh-vrvm-gqvc","https://cna.erlef.org/cves/CVE-2026-89186.html","https://osv.dev/vulnerability/EEF-CVE-2026-89186","https://github.com/ZenHive/mpp/commit/2d4d1d94aae7790ae0623063961adbeef171fa71","https://github.com/ZenHive/mpp/commit/2fd91a5ecbd0b0ad2a4ac202b79659e8126dbc0b","https://hex.pm/packages/mpp"],"sources":[{"name":"CVE","id":"CVE-2026-89186","modified":"2026-11-19T08:31:34.395Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-89186"},{"name":"OSV","id":"EEF-CVE-2026-89186","modified":"2026-11-21T17:23:05.266123413Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-89186"}],"assessments":[{"source":"EEF","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","score":6.3},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","score":6.3}],"cve":{"records":[{"id":"CVE-2026-89186","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-11T19:00:02.549Z","published":"2026-09-16T08:24:15.058Z","modified":"2026-11-19T08:31:34.395Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:31:34.395Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-09-16T14:50:44.399Z"}],"references":[{"url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-82qh-vrvm-gqvc","tags":["related","vendor-advisory"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-89186.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-89186","tags":["related"],"source":"EEF"},{"url":"https://github.com/ZenHive/mpp/commit/2d4d1d94aae7790ae0623063961adbeef171fa71","tags":["related"],"source":"EEF"},{"url":"https://github.com/ZenHive/mpp/commit/2fd91a5ecbd0b0ad2a4ac202b79659e8126dbc0b","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-524","description":"CWE-524 Use of Cache Containing Sensitive Information","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","versionEndExcluding":"0.16.2","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-09-16T14:50:34.541725Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ZenHive","name":"mpp","platforms":[],"versions":[{"version":"0.1.0","status":"affected","lessThan":"0.16.2","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/mpp","packageIdentity":{"ecosystem":"Hex","name":"mpp"},"cpes":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-89186"},{"vendor":"ZenHive","name":"mpp","platforms":[],"versions":[{"version":"2d4d1d94aae7790ae0623063961adbeef171fa71","status":"affected","lessThan":"2fd91a5ecbd0b0ad2a4ac202b79659e8126dbc0b","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/zenhive/mpp","cpes":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-89186"}],"remediation":[{"text":"In the application mounted behind MPP.Plug, stop setting Cache-Control on paid routes so the library's private survives to the response, or set a directive that is itself safe for a shared cache (private, or no-store). Where the application must set its own caching policy, configure the CDN or reverse proxy not to cache responses carrying a Payment-Receipt header.","source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-89186"}],"observedAt":"2026-11-21T17:35:50.537Z","kev":{"status":"not-listed","checkedAt":"2026-11-23T12:45:31.266Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T18:20:35.509Z","attemptedAt":"2026-11-19T18:20:35.509Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-19T18:20:35.514Z","attemptedAt":"2026-11-19T18:20:35.514Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T18:20:35.512Z","attemptedAt":"2026-11-19T18:20:35.512Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T18:20:35.509Z","attemptedAt":"2026-11-19T18:20:35.509Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-89186","url":"https://www.first.org/epss/","probability":0.00524,"percentile":0.45192,"date":"2026-11-19","checkedAt":"2026-11-19T18:20:35.509Z"},{"source":"NVD","id":"CVE-2026-89186","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89186","modified":"2026-09-16T20:38:33.883","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-19T18:20:35.509Z"},{"source":"GitHub Advisory Database","id":"GHSA-4h6w-pvrh-g28p","url":"https://github.com/advisories/GHSA-4h6w-pvrh-g28p","modified":"2026-09-16T09:30:35Z","checkedAt":"2026-11-19T18:20:35.514Z"},{"source":"ENISA EUVD","id":"EUVD-2026-80254","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-80254","modified":"Nov 19, 2026, 8:31:34 AM","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","checkedAt":"2026-11-19T18:20:35.512Z"}],"aiSummary":{"text":"ZenHive mpp versions 0.1.0 before 0.16.2 have a vulnerability where a shared HTTP cache can store a paid response and serve it to unpaid clients. This occurs when the application sets its own Cache-Control header, overriding the library's private setting. The impact is that unpaid clients can receive the cached paid response, including the Payment-Receipt header.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-21T13:21:16.598Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-89186"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-89186"}]}}