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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 22% of CVEs (2026-11-30)
- Published: 2026-05-08T22:26:50.501Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- gitroomhq postiz-app: >= 2.16.6, < 2.21.7

## References

- <https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-f7jj-p389-4w45>
- <https://github.com/gitroomhq/postiz-app/commit/071143dcb01cdeb9d5d7019892f4c6ff7b19dbeb>
- <https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.7>

## Sources

- CVE List: [CVE-2026-42346](https://www.cve.org/CVERecord?id=CVE-2026-42346), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-42346](https://nvd.nist.gov/vuln/detail/CVE-2026-42346), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42346 · Whole record: https://cve.day/CVE-2026-42346.json · Rebuilt by cve.day 2026-11-25T22:59:21.123Z
