CVE-2026-40168 Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream
HighCVSS 8.2
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gitroom postiz | < 2.21.5 | 2.21.5 | Fixed |
| gitroomhq postiz-app | = < 2.21.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitroomhq postiz-app | = < 2.21.5 | No fix listed |
| gitroom postiz | < 2.21.5 | 2.21.5 |
References
- https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww exploit mitigation vendor-advisory
- https://github.com/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06 patch
- https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.5 product release-notes