CVE-2026-40168: Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream
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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40168?
CVE-2026-40168 has a moderate severity level due to its potential for Server-Side Request Forgery exploits.
How do I fix CVE-2026-40168?
To fix CVE-2026-40168, upgrade Postiz to version 2.21.5 or higher.
What impact does CVE-2026-40168 have on Postiz?
CVE-2026-40168 allows attackers to potentially access internal network resources through the vulnerable /api/public/stream endpoint.
Which versions of Postiz are affected by CVE-2026-40168?
CVE-2026-40168 affects all Postiz versions prior to 2.21.5.
What is the nature of the vulnerability in CVE-2026-40168?
CVE-2026-40168 involves Server-Side Request Forgery via Redirect Bypass, allowing bypass of URL validation.