{"schemaVersion":3,"id":"CVE-2025-57752","aliases":["CGA-3vhj-56j6-5hw5","CGA-6rr7-xhpp-r5xj","CGA-m794-hhqv-5frf","GHSA-g5qg-72qw-gw5v"],"status":"published","duplicateOf":null,"title":null,"description":"Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.","dates":{"published":"2025-08-29T22:06:27.240Z","modified":"2025-09-02T19:23:39.835Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.2,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00347,"percentile":0.26801,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.0020000000000000052,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00349},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00347,"percentile":0.26801}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00347,"percentile":0.26801}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information","description":"The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/524.html"}],"affected":[{"vendor":"chainguard","product":"jitsucom-jitsu","name":"jitsucom-jitsu","label":"jitsucom-jitsu","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu","purlType":"apk","versions":[{"text":"< 2.11.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"jitsucom-jitsu-console","name":"jitsucom-jitsu-console","label":"jitsucom-jitsu-console","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu-console","purlType":"apk","versions":[{"text":"< 2.11.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"jitsucom-jitsu-rotor","name":"jitsucom-jitsu-rotor","label":"jitsucom-jitsu-rotor","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu-rotor","purlType":"apk","versions":[{"text":"< 2.11.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu","name":"jitsucom-jitsu","label":"jitsucom-jitsu","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu","purlType":"apk","versions":[{"text":"< 2.11.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu-console","name":"jitsucom-jitsu-console","label":"jitsucom-jitsu-console","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu-console","purlType":"apk","versions":[{"text":"< 2.11.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu-rotor","name":"jitsucom-jitsu-rotor","label":"jitsucom-jitsu-rotor","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu-rotor","purlType":"apk","versions":[{"text":"< 2.11.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-r1","eol":null,"hubHref":null},{"vendor":"Npm","product":"next","name":"next","label":"next","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/next","purlType":"npm","versions":[{"text":"≥ 0.9.9, < 14.2.31","noFixRecorded":false,"fixedIn":null},{"text":"≥ 15.0.0, < 15.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.9.9, < 14.2.31 | ≥ 15.0.0, < 15.4.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"purl","cycle":null,"product":{"name":"nextjs","label":"Next.js","category":"framework"}},"hubHref":null},{"vendor":"vercel","product":"next.js","name":"next.js","label":"next.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 14.2.31","noFixRecorded":false,"fixedIn":null},{"text":"≥ 15.0.0, < 15.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.2.31 | ≥ 15.0.0, < 15.4.5","eol":null,"hubHref":"/vendor/vercel/nextjs"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5v","label":"github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5v","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/vercel/next.js/pull/82114","label":"github.com/vercel/next.js/pull/82114","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd","label":"github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://vercel.com/changelog/cve-2025-57752","label":"vercel.com/changelog/cve-2025-57752","hostname":"vercel.com","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57752.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57752.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57752","label":"nvd.nist.gov/vuln/detail/CVE-2025-57752","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vercel/next.js","label":"github.com/vercel/next.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-PQR9-X8QF-VWW8"]},"timeline":[{"kind":"published","date":"2025-08-29T22:06:27.240Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-02T19:23:39.835Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:17:21.716Z","stale":false,"partial":false}}