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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-10T19:20:16.365Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gitroomhq postiz-app: < 2.21.5
- gitroom postiz: before 2.21.5

## References

- <https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-34w8-5j2v-h6ww> (exploit, mitigation, vendor-advisory)
- <https://github.com/gitroomhq/postiz-app/commit/30e8b777098157362769226d1b46d83ad616cb06> (patch)
- <https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.5> (product, release-notes)

## Sources

- CVE List: [CVE-2026-40168](https://www.cve.org/CVERecord?id=CVE-2026-40168), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2026-40168](https://nvd.nist.gov/vuln/detail/CVE-2026-40168), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40168 · Whole record: https://cve.day/CVE-2026-40168.json · Rebuilt by cve.day 2026-11-25T22:59:18.543Z
