CVE-2026-40168
JSON

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 packageVersionsReported by
gitroomhq postiz-app< 2.21.5CVE List
gitroom postizbefore 2.21.5NVD

Classification

CWE-918

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

Sources

SourceRecordLicence
CVE ListCVE-2026-40168 changed 2026-04-13CVE Terms of Use
NVDCVE-2026-40168 changed 2026-10-26Public domain