CVE-2026-42346: Postiz: TOCTOU DNS rebinding bypasses all SSRF URL validation paths

Published May 8, 2026
·
Updated

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.

Affected Software

1 affected component
Postiz Postiz>=2.16.6<2.21.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Postiz to a version that resolves this vulnerability.

    Fixed in 2.21.7

Event History

May 8, 2026
CVE Published
via MITRE·10:26 PM
Data Sourced
via MITRE·10:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-42346?

CVE-2026-42346 is considered a high severity vulnerability due to its potential to bypass SSRF protections.

2

How do I fix CVE-2026-42346?

To fix CVE-2026-42346, upgrade Postiz to version 2.21.7 or later.

3

Which versions of Postiz are affected by CVE-2026-42346?

Versions of Postiz from 2.16.6 to before 2.21.7 are affected by CVE-2026-42346.

4

What type of vulnerability is CVE-2026-42346?

CVE-2026-42346 is a TOCTOU vulnerability that affects the safety of URL validations.

5

What is the risk associated with CVE-2026-42346?

The risk associated with CVE-2026-42346 includes unauthorized access and data exfiltration through SSRF attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203