8.2high
Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitroomhq postiz-app | < 2.21.5 | CVE List |
| gitroom postiz | before 2.21.5 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Postiz es una herramienta de programación de redes sociales con IA. Antes de la versión 2.21.5, el endpoint /api/public/stream es vulnerable a SSRF. Aunque la aplicación valida la URL suministrada inicialmente y bloquea los hosts privados/internos directos, no vuelve a validar el destino final después de las redirecciones HTTP. Como resultado, un atacante puede suministrar una URL HTTPS pública que pasa la validación y luego redirige la solicitud del lado del servidor a un recurso interno.
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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40168 changed 2026-04-13 | CVE Terms of Use |
| NVD | CVE-2026-40168 changed 2026-10-26 | Public domain |