CVE-2026-40168Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream
Description
Postiz is an AI social media scheduling tool. Prior to 2.21.5, the /api/public/stream endpoint is vulnerable to SSRF. Although the application validates the initially supplied URL and blocks direct private/internal hosts, it does not re-validate the final destination after HTTP redirects. As a result, an attacker can supply a public HTTPS URL that passes validation and then redirects the server-side request to an internal resource.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| gitroom | postiz | < 2.21.5 | |
| gitroomhq | postiz-app | < 2.21.5 |
References and patches
- https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww ExploitMitigationVendor Advisory
- https://github.com/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06 Patch
- https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.5 ProductRelease Notes
CPE matches (NVD) (1)
cpe:2.3:a:gitroom:postiz:*:*:*:*:*:*:*:*< 2.21.5