CVE-2026-49979 PUBLISHED

Appsmith: SSRF via `POST /api/v1/admin/send-test-email` — JavaMail Bypasses WebClient IP Filter

Assigner: GitHub_M
Reserved: 02.06.2026 Published: 24.06.2026 Updated: 24.06.2026

Appsmith is a platform to build admin panels, internal tools, and dashboards. Prior to 1.99, the POST /api/v1/admin/send-test-email endpoint accepts attacker-controlled smtpHost and smtpPort values and establishes a raw JavaMail TCP connection without any IP validation. This completely bypasses WebClientUtils.IP_CHECK_FILTER, which only applies to Spring WebClient HTTP requests. Additionally, the raw MailException.getMessage() is returned verbatim in the API error response, enabling error-based internal port scanning and service banner enumeration. This vulnerability is fixed in 1.99.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
CVSS Score: 5.1

Product Status

Vendor appsmithorg
Product appsmith
Versions
  • Version < 1.99 is affected

References

Problem Types

  • CWE-209: Generation of Error Message Containing Sensitive Information CWE
  • CWE-918: Server-Side Request Forgery (SSRF) CWE