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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40168.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitroom:postiz:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.21.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "30e8b777098157362769226d1b46d83ad616cb06"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.21.5",
"range": [
{
"fixed": "3e8a0ab817ea50475f319797b1256ae9eba0e704"
}
],
"source": "REFERENCES_TAG"
}
]
}