🔍 CVE-2026-64649

6.5
CVSS Score
MEDIUM
2026-07-27
2026-10-24 13:10
✅ 완료

🇰🇷 한글 설명

Next.js의 Server Action이 요청을 전달하거나 리다이렉트할 때, 공격자가 Host 관련 헤더를 제어하여 서버가 악의적인 호스트로 요청을 보내게 만드는 SSRF 취약점입니다. 특정 설정에서 내부 값을 탈취하여 미들웨어 또는 프록시 인증을 약화시킬 수도 있습니다. 이 문제는 Next.js 15.5.21 및 16.2.11 버전에서 수정되었습니다.

💡 쉬운 설명

웹사이트의 서버 기능이 공격자가 지정한 가짜 주소로 몰래 데이터를 보내게 만드는 보안 결함입니다. 이를 통해 공격자는 서버 내부의 중요한 정보를 훔쳐보거나 보안망을 우회할 수 있습니다.

🇺🇸 원문 (English)

Next.js is a React framework for building full-stack web applications. In versions 14.1.1 through 15.5.20 and 16.0.0 through 16.2.10, when a Server Action forwards or redirects a request, an attacker can cause the server to send that outbound request to a malicious host (Server-Side Request Forgery). This requires the attacker's request to control Host-associated headers. In some configurations, it's also possible to obtain internal values that weaken middleware/proxy authorization. Applications that use Server Actions are affected when the incoming host header is not fixed to a trusted value. This typically occurs on custom servers, or on deployments not behind a proxy that pins the host. Managed hosting pins the host upstream and is not affected; next start and standalone output do the same from version 14.2 onward. This issue has been fixed in versions 15.5.21 and 16.2.11.

📍 영향받는 시스템

Next.js 14.1.1 ~ 15.5.20 및 16.0.0 ~ 16.2.10

⚔️ 공격 벡터

Host 헤더를 제어할 수 있는 환경에서 Server Action을 통한 SSRF 공격

🛡️ 대응 방법

Next.js를 15.5.21 또는 16.2.11 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 Next.js 버전이 취약한 범위(14.1.1-15.5.20 또는 16.0.0-16.2.10)에 해당하는지 확인

Shell / Script
npm list next | grep next

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

💻 영향받는 소프트웨어

IBM WebSphere Application Server