The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42346

CVE-2026-42346: Postiz AI Social Media Tool SSRF Vulnerability

CVE-2026-42346 is an SSRF flaw in Postiz that exploits a TOCTOU weakness via DNS rebinding to access internal networks. This article covers the technical details, affected versions 2.16.6–2.21.6, and patch 2.21.7.

Published: May 18, 2026

CVE-2026-42346 Overview

CVE-2026-42346 is a Server-Side Request Forgery (SSRF) vulnerability in Postiz, an AI social media scheduling tool. The flaw affects versions 2.16.6 through 2.21.6 and stems from a Time-of-Check-Time-of-Use (TOCTOU) race condition in the SSRF protections introduced in v2.21.4 through v2.21.6. The isSafePublicHttpsUrl() function resolves DNS to validate the target IP, but subsequent fetch() calls perform independent DNS resolution. An attacker controlling an authoritative DNS server can exploit this gap through DNS rebinding to redirect requests to internal network addresses. The issue is patched in version 2.21.7.

Critical Impact

Attackers can bypass URL validation through DNS rebinding to access internal network services, potentially exposing sensitive metadata endpoints and intranet resources.

Affected Products

  • Postiz versions 2.16.6 through 2.21.3 (no SSRF protections)
  • Postiz versions 2.21.4 through 2.21.6 (incomplete SSRF protections)
  • gitroomhq/postiz-app repository

Discovery Timeline

  • 2026-05-08 - CVE-2026-42346 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42346

Vulnerability Analysis

The vulnerability combines two well-known issue classes: Server-Side Request Forgery [CWE-918] and a TOCTOU race condition. Postiz accepts user-supplied URLs for webhook and integration endpoints. To prevent SSRF, the application validates URLs through isSafePublicHttpsUrl(), which resolves the hostname and checks that the resulting IP address is a public, non-internal address.

The defect is that validation and use occur as two independent DNS lookups. After the validation check passes, the application calls fetch() or axios, which performs a second DNS resolution. An attacker who controls the authoritative DNS server for the supplied hostname can return a public IP during validation and an internal IP (such as 127.0.0.1, 169.254.169.254, or RFC1918 addresses) during the fetch call.

Root Cause

The root cause is the absence of a unified resolve-and-pin mechanism. The SSRF guard resolves DNS, validates the address, then discards the resolution result. The HTTP client subsequently re-resolves the hostname, creating the time-of-check-to-time-of-use window. With short TTL values controlled by the attacker, the two lookups can return different answers.

Attack Vector

Exploitation requires the attacker to host a DNS server returning rapidly changing responses for a hostname submitted to a vulnerable Postiz endpoint. The attack proceeds without authentication or user interaction across the network. Successful exploitation yields read access to internal HTTP services reachable from the Postiz backend.

typescript
// Patch excerpt: apps/backend/src/api/routes/public.controller.ts
 import { promisify } from 'util';
 import { OnlyURL } from '@gitroom/nestjs-libraries/dtos/webhooks/webhooks.dto';
 import { isSafePublicHttpsUrl } from '@gitroom/nestjs-libraries/dtos/webhooks/webhook.url.validator';
+import { ssrfSafeDispatcher } from '@gitroom/nestjs-libraries/dtos/webhooks/ssrf.safe.dispatcher';

 const pump = promisify(pipeline);

// Patch excerpt: apps/backend/src/public-api/routes/v1/public.integrations.controller.ts
-import axios from 'axios';
 import { Readable } from 'stream';
+import { ssrfSafeDispatcher } from '@gitroom/nestjs-libraries/dtos/webhooks/ssrf.safe.dispatcher';

Source: GitHub Commit 071143d

The fix replaces direct axios and fetch usage with a custom ssrfSafeDispatcher that performs DNS resolution once and pins the connection to the validated IP address.

Detection Methods for CVE-2026-42346

Indicators of Compromise

  • Outbound DNS queries from the Postiz backend to attacker-controlled domains with abnormally short TTL values
  • HTTP requests originating from the Postiz process targeting 127.0.0.1, 169.254.169.254, or RFC1918 address ranges
  • Webhook or integration URL submissions referencing hostnames that resolve inconsistently across rapid queries

Detection Strategies

  • Inspect application logs for repeated webhook validation attempts against the same hostname with differing destination IPs
  • Correlate DNS resolver logs with backend HTTP egress to identify validation versus fetch resolution mismatches
  • Monitor egress firewall logs for Postiz process connections to internal subnets or cloud metadata services

Monitoring Recommendations

  • Enforce egress filtering at the network layer to block backend services from reaching internal IP ranges
  • Alert on DNS responses with TTLs under 5 seconds for domains supplied through user input
  • Track invocations of isSafePublicHttpsUrl() followed by outbound HTTP requests to verify IP consistency

How to Mitigate CVE-2026-42346

Immediate Actions Required

  • Upgrade Postiz to version 2.21.7 or later, which introduces the ssrfSafeDispatcher to pin DNS resolution
  • Audit webhook and integration configurations for suspicious external URLs added since version 2.16.6
  • Restrict outbound network access from the Postiz backend to required third-party endpoints only

Patch Information

The fix is available in Postiz Release v2.21.7 and documented in GitHub Security Advisory GHSA-f7jj-p389-4w45. The patch commit replaces the unsafe HTTP clients with an SSRF-safe dispatcher that resolves DNS once and connects to the verified IP.

Workarounds

  • Deploy Postiz behind an egress proxy that blocks requests to private, loopback, and link-local IP ranges
  • Block access to cloud metadata endpoints such as 169.254.169.254 via host firewall rules
  • Disable webhook and external URL features until the upgrade to 2.21.7 is applied
bash
# Example iptables egress rules blocking internal targets from the Postiz container
iptables -A OUTPUT -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -d 169.254.0.0/16 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechPostiz

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Update

  • GitHub Release v2.21.7

  • GitHub Security Advisory GHSA-f7jj-p389-4w45
  • Related CVEs
  • CVE-2025-53641: Postiz SSRF Vulnerability

  • CVE-2026-34590: Postiz Webhook SSRF Vulnerability

  • CVE-2026-34577: Postiz SSRF Vulnerability

  • CVE-2026-34576: Postiz AI Social Media Tool SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English