CVE-2023-46729: Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint

Published Nov 9, 2023
·
Updated

Impact An 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: client-side vulnerabilities: XSS/CSRF in the context of the trusted domain; interaction with internal network; read cloud metadata endpoints (AWS, Azure, Google Cloud, etc.); local/remote port scan.

This issue only affects users who have Next.js SDK tunneling feature enabled.

Patches The problem has been fixed in sentry/nextjs@7.77.0

Workarounds Disable tunneling by removing the tunnelRoute option from Sentry Next.js SDK config — next.config.js or next.config.mjs.

References Sentry Next.js tunneling feature The fix More Information

Credits Praveen Kumar

Other sources

sentry-javascript provides Sentry SDKs for JavaScript. An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This issue only affects users who have Next.js SDK tunneling feature enabled. The problem has been fixed in version 7.77.0.

Affected Software

2 affected componentsFixes available
npm/@sentry/nextjs>=7.26.0<7.77.0
7.77.0
Sentry Sentry Software Development Kit Next.js>=7.26.0<7.77.0

Event History

Nov 9, 2023
Advisory Published
10:03 PM
Nov 10, 2023
CVE Published
via MITRE·12:57 AM
Data Sourced
via MITRE·12:57 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the impact of CVE-2023-46729?

The vulnerability allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user, which can lead to client-side vulnerabilities like XSS/CSRF.

2

Which software is affected by CVE-2023-46729?

The vulnerability affects the @sentry/nextjs package with versions between 7.26.0 and 7.77.0.

3

What is the severity of CVE-2023-46729?

CVE-2023-46729 has a severity rating of 9.3 (Critical).

4

How can I fix CVE-2023-46729?

To fix CVE-2023-46729, update the @sentry/nextjs package to version 7.77.0 or later.

5

Where can I find more information about CVE-2023-46729?

Additional information about CVE-2023-46729 can be found in the GitHub advisory and pull request linked in the references section.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203