Skip to main content

Postiz CVE-2026-42346

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-08 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register domain with TTL-0 DNS under attacker control
  2. Delivery
    Submit domain URL to Postiz user-facing endpoint
  3. Exploit
    Postiz resolves DNS: public IP returned, validation passes
  4. Execution
    Attacker swaps DNS record to internal IP (e.g., 169.254.169.254)
  5. Persist
    Postiz fetch() resolves DNS again: internal IP returned
  6. Impact
    Backend connects to internal service and returns sensitive response to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must control an authoritative DNS server for the domain submitted to Postiz, with the ability to set TTL to 0 and swap the A record between Postiz's two DNS queries (validation query and fetch query) - typically a window of milliseconds to low seconds depending on resolver caching behavior. This DNS rebinding prerequisite is the primary limiting factor and explains SSVC's 'Automatable: no' rating. The vulnerable code paths accept user-supplied URLs at unauthenticated or low-privilege endpoints (CVSS PR:N), so no credential theft or account compromise is a prerequisite for the attacker. Exploitation impact is bounded by what internal services are reachable from the Postiz backend: environments where the backend cannot egress to RFC 1918 or link-local addresses (e.g., strict egress firewall, no cloud metadata service) have near-zero practical impact. Versions prior to 2.16.6 are not confirmed affected by the advisory; versions 2.21.7 and later are not vulnerable.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N) correctly captures the two competing signals: fully network-accessible without authentication (AV:N/PR:N/UI:N) but requiring attacker-controlled DNS infrastructure and precise timing (AC:H). EPSS at 0.03% (8th percentile) and SSVC's 'Exploitation: none / Automatable: no' are mutually consistent - the DNS rebinding prerequisite prevents reliable at-scale automation. The High confidentiality impact is not overstated: successful exploitation can yield cloud instance metadata (e.g., AWS IMDSv1 at 169.254.169.254), IAM credentials, or internal service responses. The 'Scope: Unchanged' in CVSS 3.1 is debatable given that the attack ultimately targets systems beyond Postiz itself; CVSS 4.0 modeling (see assessed vector) treats internal service impact under subsequent-system metrics. No conflicting signals exist between CVSS, EPSS, and SSVC - all converge on a medium-priority finding requiring elevated attacker capability. Organizations running Postiz in cloud environments where the backend can reach instance metadata services should treat this as higher priority than the base score suggests.

Exploit ScenarioDerived

An attacker registers a domain with a TTL-0 A record pointing to a legitimate public IP and submits this URL to a Postiz endpoint that accepts user-supplied URLs (e.g., the image-fetch or public integrations route). When Postiz calls isSafePublicHttpsUrl(), the attacker's DNS server returns the public IP, passing validation; the attacker then immediately swaps the DNS record to 169.254.169.254 (AWS instance metadata). Postiz's subsequent fetch() call resolves the same domain again, now reaching the metadata service, and the response - potentially containing IAM role credentials - is returned to or processed by the attacker-controlled request. No public proof-of-concept exploit has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

DNS rebinding exploits a TOCTOU flaw in Postiz v2.16.6-2.21.6 to bypass all SSRF protections added in v2.21.4-v2.21.6, allowing unauthenticated remote attackers to reach internal network services and cloud metadata endpoints. The root defect is architectural: isSafePublicHttpsUrl() validates an IP via one DNS resolution, but the subsequent fetch() call performs its own independent DNS resolution - an attacker controlling a DNS server can return a legitimate public IP on the first query and swap to an internal address (e.g., 169.254.169.254) on the second. No public exploit has been identified and exploitation is not confirmed by CISA KEV, but the high confidentiality impact reflects realistic cloud-credential theft via IMDSv1-style metadata services.

RemediationAI

Upgrade Postiz to version 2.21.7, confirmed by the official release tag at https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.7 and fixing commit https://github.com/gitroomhq/postiz-app/commit/071143dcb01cdeb9d5d7019892f4c6ff7b19dbeb. If immediate upgrade is not feasible, configure outbound egress firewall rules on the Postiz backend host to block TCP connections to RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local ranges (169.254.0.0/16) - this eliminates the most impactful SSRF targets (cloud metadata services) without changing application behavior, though it does not fix the TOCTOU flaw and may break legitimate internal integrations. A second compensating control is restricting the Postiz backend to use only a DNS resolver that blocks private-IP responses (DNS RPZ or a split-horizon resolver configured to NXDOMAIN internal ranges), which raises the bar for DNS rebinding but requires DNS infrastructure control and does not eliminate the race window entirely. Neither workaround is a substitute for patching.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Postiz (CPE: cpe:2.3:a:gitroomhq:postiz-app) is a NestJS-based backend that accepts user-supplied URLs across multiple endpoints - image proxying, public controller routes, and storage provider integrations. The CWE-918 (Server-Side Request Forgery) root cause is a classic TOCTOU race: the security check (isSafePublicHttpsUrl) and the dangerous action (fetch) each trigger independent operating-system DNS resolutions. DNS TTLs can be set to zero, enabling an attacker-controlled authoritative DNS server to serve different A records within milliseconds - a technique known as DNS rebinding. The fix in v2.21.7 introduces ssrfSafeDispatcher, a custom undici Agent that overrides the connect.lookup hook to pin DNS resolution: every resolved IP is immediately validated against isBlockedIp() by the same callback that hands the address to the TCP stack, so no second resolution occurs. The diff shows the dispatcher was applied to public.controller.ts, public.integrations.controller.ts, cloudflare.storage.ts, and local.storage.ts.

Know when Postiz App gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 6.5 MEDIUM

AC:H reflects mandatory DNS infrastructure control and timing precision; PR:N as URL endpoints are unauthenticated per CVSS; C:H for potential internal metadata credential access.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Postiz is an AI social media scheduling tool. From version 2.16.6 to before version 2.21.7, all SSRF protections added in v2.21.4-v2.21.6 share a fundamental TOCTOU (Time-of-Check-Time-of-Use) vulnerability: isSafePublicHttpsUrl() resolves DNS to validate the target IP, but subsequent fetch() calls resolve DNS independently. An attacker controlling a DNS server can exploit this gap via DNS rebinding to redirect requests to internal network addresses. This issue has been patched in version 2.21.7.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Low
niche AI social media scheduling SaaS tool
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

cpe:2.3:a:gitroomhq:postiz-app:*:*:*:*:*:*:*:*
CVE-2026-40487 CRITICAL POC
9.0 Apr 18

File upload validation bypass in Postiz social media scheduler (versions before 2.21.6) allows authenticated users to up

CVE-2026-115931 CRITICAL
9.9 Oct 23

Postiz (gitroomhq/postiz-app) before v2.25.1 allows any signed-in user to invoke arbitrary internal integration methods

CVE-2026-48781 CRITICAL
9.9 Jun 16

Privilege escalation to SUPERADMIN in Postiz (gitroomhq/postiz-app) versions prior to 2.21.8 allows any authenticated us

CVE-2026-115933 CRITICAL
9.9 Oct 24

Improper token-purpose validation in Postiz (gitroomhq/postiz-app) through v2.25.2 allows any authenticated user holding

CVE-2026-42298 CRITICAL
9.8 May 08

Arbitrary code execution and privileged token theft affects Postiz (gitroomhq/postiz-app) prior to commit da44801 throug

CVE-2026-115932 CRITICAL
9.6 Oct 24

Postiz instances older than v2.25.3 that store media on local disk let a registered user have the publishing worker read

CVE-2026-19264 CRITICAL
9.3 Aug 07

Arbitrary file read in Postiz (gitroomhq/postiz-app before 2.22.1) lets an unauthenticated remote attacker retrieve any

CVE-2026-94456 CRITICAL
9.1 Sep 22

Predictable, non-cryptographic credential generation in Postiz (gitroomhq/postiz-app, all versions prior to v2.24.0) all

CVE-2026-42556 CRITICAL
9.0 May 08

Stored cross-site scripting in Postiz (gitroomhq/postiz-app) versions 2.21.6 through 2.21.6 lets any authenticated user

CVE-2026-34577 HIGH
8.6 Apr 02

Server-side request forgery in Postiz AI social media scheduling tool (versions < 2.21.3) allows unauthenticated remote

CVE-2026-34576 HIGH
8.3 Apr 02

Server-side request forgery (SSRF) in Postiz social media scheduling tool versions prior to 2.21.3 allows authenticated

CVE-2026-40168 HIGH
8.2 Apr 10

Server-side request forgery in Postiz (gitroomhq postiz-app) versions prior to 2.21.5 allows unauthenticated remote atta

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy