CVE-2026-42346 PUBLISHED

Postiz: TOCTOU DNS rebinding bypasses all SSRF URL validation paths

Assigner: GitHub_M
Reserved: 26.04.2026 Published: 08.05.2026 Updated: 08.05.2026

Postiz is an AI social media scheduling tool. From version 2.16.6 to before version 2.21.7, all SSRF protections added in v2.21.4–v2.21.6 share a fundamental TOCTOU (Time-of-Check-Time-of-Use) vulnerability: isSafePublicHttpsUrl() resolves DNS to validate the target IP, but subsequent fetch() calls resolve DNS independently. An attacker controlling a DNS server can exploit this gap via DNS rebinding to redirect requests to internal network addresses. This issue has been patched in version 2.21.7.

Metrics

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

Product Status

Vendor gitroomhq
Product postiz-app
Versions
  • Version >= 2.16.6, < 2.21.7 is affected

References

Problem Types

  • CWE-918: Server-Side Request Forgery (SSRF) CWE