{"id":"CVE-2023-46729","aliases":["GHSA-2rmr-xw8m-22q9"],"url":"https://o3.security/vulnerability/CVE-2023-46729","summary":"Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint","details":"### Impact\nAn unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This could open door for other attack vectors:\n* client-side vulnerabilities: XSS/CSRF in the context of the trusted domain;\n* interaction with internal network;\n* read cloud metadata endpoints (AWS, Azure, Google Cloud, etc.);\n* local/remote port scan.\n\nThis issue only affects users who have [Next.js SDK tunneling feature](https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-tunneling-to-avoid-ad-blockers) enabled.\n\n### Patches\nThe problem has been fixed in [sentry/nextjs@7.77.0](https://www.npmjs.com/package/@sentry/nextjs/v/7.77.0)\n\n### Workarounds\nDisable tunneling by removing the `tunnelRoute` option from Sentry Next.js SDK config — `next.config.js` or `next.config.mjs`.\n\n### References\n* [Sentry Next.js tunneling feature](https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-tunneling-to-avoid-ad-blockers)\n* [The fix](https://github.com/getsentry/sentry-javascript/pull/9415)\n* [More Information](https://blog.sentry.io/next-js-sdk-security-advisory-cve-2023-46729/)\n\n### Credits\n* [Praveen Kumar](https://hackerone.com/mr_x_strange)","published":"2023-11-10T00:57:15.611Z","modified":"2026-08-12T03:51:36.453521238Z","cvss":{"score":9.3,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@sentry/nextjs","fixedVersion":"7.77.0"}],"fix":{"url":"https://github.com/getsentry/sentry-javascript/commit/ddbda3c02c35aba8c5235e0cf07fc5bf656f81be","label":"getsentry/sentry-javascript@ddbda3c"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46729.json"},{"type":"ADVISORY","url":"https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-2rmr-xw8m-22q9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46729"},{"type":"FIX","url":"https://github.com/getsentry/sentry-javascript/commit/ddbda3c02c35aba8c5235e0cf07fc5bf656f81be"},{"type":"FIX","url":"https://github.com/getsentry/sentry-javascript/pull/9415"},{"type":"WEB","url":"https://blog.sentry.io/next-js-sdk-security-advisory-cve-2023-46729"},{"type":"WEB","url":"https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#configure-tunneling-to-avoid-ad-blockers"},{"type":"PACKAGE","url":"https://github.com/getsentry/sentry-javascript"},{"type":"WEB","url":"https://www.npmjs.com/package/@sentry/nextjs/v/7.77.0"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.453521238Z"}}