CVE-2026-40168 json
Postiz has Server-Side Request Forgery via Redirect Bypass in /api/public/stream
published 6mo ago modified 14d ago also EUVD-2026-21571
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gitroom postiz 2.21.5
Is CVE-2026-40168 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
Affected products
- gitroomhq postiz-app
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06
patch
-
github.com
/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww
exploit, mitigation, vendor-advisory
-
github.com
/gitroomhq/postiz-app/releases/tag/v2.21.5
product, release-notes
Sources
- CVE List CVE-2026-40168
- NVD CVE-2026-40168
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.