CVE-2026-40168: Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream

Published Apr 10, 2026
·
Updated

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

2 affected components
Postiz Postiz<2.21.5
Gitroom Postiz<2.21.5

Event History

Apr 10, 2026
CVE Published
via MITRE·07:20 PM
Data Sourced
via MITRE·07:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2026-40168?

To fix CVE-2026-40168, upgrade Postiz to version 2.21.5 or higher.

3

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.

4

Which versions of Postiz are affected by CVE-2026-40168?

CVE-2026-40168 affects all Postiz versions prior to 2.21.5.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203