CVE-2026-40168
Prior to 2.21.5, the /api/public/stream endpoint is vulnerable to SSRF.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.37%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.2 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- EPSS
- 0.37% probability · 31th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-918
- Affected
- gitroom/postiz
- Source
- security-advisories@github.com
References
- https://github.com/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06Patch
- https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.5Product, Release Notes
- https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6wwExploit, Mitigation, Vendor Advisory
- https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6wwExploit, Mitigation, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.