{"id":"CVE-2026-89186","published":"2026-09-16T08:24:15Z","modified":"2026-11-19T08:31:34Z","title":"mpp writes Payment-Receipt and Cache-Control before the wrapped application runs, letting a consumer's own…","vendor":"ZenHive","product":"mpp","tier":"tail","description":{"text":"Use 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\nMPP.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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.45342,"provenance":"source"},"cwes":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-82qh-vrvm-gqvc","tags":["related","vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-89186.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-89186","tags":["related"]},{"url":"https://github.com/ZenHive/mpp/commit/2d4d1d94aae7790ae0623063961adbeef171fa71","tags":["related"]},{"url":"https://github.com/ZenHive/mpp/commit/2fd91a5ecbd0b0ad2a4ac202b79659e8126dbc0b","tags":["patch"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.07},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"zenhive","affectedVersions":[{"vendor":"ZenHive","product":"mpp","versions":[">= 0.1.0, < 0.16.2"]},{"vendor":"ZenHive","product":"mpp","versions":[">= 2d4d1d94aae7790ae0623063961adbeef171fa71, < 2fd91a5ecbd0b0ad2a4ac202b79659e8126dbc0b"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-204","name":"An 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."}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T14:50:34.541725Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-80254","exploited":false,"provenance":"source"}}