Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
HighPublic exploit

SSRF via redirect handling in Postiz /api/public/stream

IdentifiersCVE-2026-40168CWE-918· Server-Side Request Forgery (SSRF)

CVE-2026-40168 is a server-side request forgery vulnerability in Postiz, an AI social media scheduling tool, affecting versions prior to 2.21.5. The flaw is in the /api/public/stream endpoint. Postiz validates the initially supplied URL and blocks direct access to private or internal hosts, but it does not re-validate the final destination after following HTTP redirects. An attacker can therefore provide a public HTTPS URL that passes the initial validation and causes the server to follow a redirect to an internal resource, resulting in SSRF against internal network targets or other non-publicly reachable resources.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an unauthenticated remote attacker to induce the Postiz server to make requests to internal or otherwise restricted resources. Based on the provided CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L), the primary impact is high confidentiality exposure through access to internal data or services, with limited availability impact from induced requests against internal endpoints. No integrity impact is indicated in the provided information.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict or disable access to the /api/public/stream endpoint where feasible, and enforce outbound request controls at the network layer to prevent the application from reaching internal address space and sensitive metadata or management endpoints. As an application-level mitigation, ensure redirect targets are re-validated after each redirect hop and block redirects to private, loopback, link-local, or otherwise non-approved destinations.

Remediation

Patch, then assume compromise.

Upgrade Postiz to version 2.21.5 or later, which includes the fix for this issue. The provided references identify the fixing commit (30e8b777098157362769226d1b46d83ad616cb06) and the patched release v2.21.5.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GitroomPostizapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity5

Community discussion across Reddit, Mastodon, and other social sources.