Skip to main content
← All vulnerabilities
CVE-2026-42346

Postiz: TOCTOU DNS rebinding bypasses all SSRF URL validation paths

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.21.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitroomhq postiz-app

    From 2.16.6 · fixed in 2.21.7

References 3

GitHub · gitroomhq/postiz-app