CVE-2026-40168 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in the Postiz application, specifically in versions prior to 2.21.5. The issue arises in the '/api/public/stream' endpoint, where the application fails to properly validate URLs after HTTP redirects. While initial URL validation blocks direct access to private or internal hosts, it does not re-check the final destination post-redirect. This flaw allows attackers to send a public HTTPS URL that appears safe, which can then redirect the server's request to an internal resource.
Users are advised to upgrade to Postiz version 2.21.5 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06 | [email protected] | Patch |
| https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.5 | [email protected] | ProductRelease Notes |
| https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitroom postiz | < 2.21.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | Initial Analysis | [email protected] |
| Apr 13, 2026 | CVE Modified | CISA-ADP |
| Apr 10, 2026 | New CVE Received | [email protected] |