{"id":"CVE-2026-42346","state":"PUBLISHED","title":"Postiz: TOCTOU DNS rebinding bypasses all SSRF URL validation paths","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.","publishedAt":"2026-05-08T22:26:50.501Z","updatedAt":"2026-05-11T14:35:55.041Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["gitroomhq postiz-app"],"affected":[{"vendor":"gitroomhq","product":"postiz-app","versions":[{"version":">= 2.16.6, < 2.21.7","status":"affected"}]}],"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"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42346.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42346","state":"PUBLISHED","datePublished":"2026-05-08T22:26:50.501Z","dateUpdated":"2026-05-11T14:35:55.041Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-26T13:26:14.515Z"},"containers":{"cna":{"title":"Postiz: TOCTOU DNS rebinding bypasses all SSRF URL validation paths","descriptions":[{"lang":"en","value":"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":[{"vendor":"gitroomhq","product":"postiz-app","versions":[{"version":">= 2.16.6, < 2.21.7","status":"affected"}]}],"references":[{"url":"https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-f7jj-p389-4w45","name":"https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-f7jj-p389-4w45","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gitroomhq/postiz-app/commit/071143dcb01cdeb9d5d7019892f4c6ff7b19dbeb","name":"https://github.com/gitroomhq/postiz-app/commit/071143dcb01cdeb9d5d7019892f4c6ff7b19dbeb","tags":["x_refsource_MISC"]},{"url":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.7","name":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T22:26:50.501Z"},"source":{"advisory":"GHSA-f7jj-p389-4w45","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T14:35:45.263376Z","id":"CVE-2026-42346","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-11T14:35:55.041Z"}}]}}}