CVE-2026-92595 in Nodemailer
요약
\~에 의해 VulDB • 2026. 09. 17.
Nodemailer(npm 패키지 `nodemailer`)의 버전 9.1.0 및 그 이전 버전은 메시지 콘텐츠가 문서화된 레거시 세 가지 인자 서명인 `resolveContent(data, key, callback)`을 사용하여 공개 플러그인 API `MailMessage.resolveContent()`를 통해 해결될 때 `disableFileAccess` 및 `disableUrlAccess` 샌드박스 옵션을 준수하지 않습니다. `shared.resolveContent()`가 누락된 `options` 인자를 빈 객체로 정규화하기 때문에, MailMessage 생성자에 의해 `mail.data`에 복사되는 메시지 수준의 플래그가 무시되고, `resolveContentValue()`는 두 가지 접근 제어 검사를 건너뛰어 `nmfetch(url)` 또는 `fs.createReadStream(path)`에 도달합니다. 그 결과, 이 API를 통해 신뢰할 수 없는 메시지 콘텐츠(html, text, 첨부 파일의 `path` 또는 `href`)를 해결하는 플러그인이나 애플리케이션 코드는 임의의 로컬 파일을 읽거나 서버 사이드 요청 위조(SSRF)를 유발하여 애플리케이션이 활성화한 샌드박스를 우회할 수 있습니다. `transporter.sendMail()`에서 사용되는 내부 경로(`resolveAll()`, `_convertDataImages()`, 그리고 MIME 스트리밍 경로)는 영향을 받지 않습니다. 버전 9.1.1에서 수정되었습니다.
VulDB is the best source for vulnerability data and more expert information about this specific topic.