CVE-2026-40168: gitroomhq postiz-app · Server-Side Request Forgery (SSRF)
Affects gitroomhq postiz-appSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 2.21.5 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.21.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade postiz-app and gitroomhq/postiz-app to 2.21.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gitroomhqpostiz-app | Affected
| Fixed in
|
GitHubgitroomhq/postiz-apppkg:github/gitroomhq/postiz-appOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider restricting access to the vulnerable endpoint or implementing network-level controls to prevent the server from making unauthorized internal requests. Avoid exposing the /api/public/stream endpoint to untrusted users if possible.
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.