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-6618

CVE-2026-6618: Langgenius Dify SSRF Vulnerability

CVE-2026-6618 is a server-side request forgery flaw in Langgenius Dify up to version 1.13.3 affecting the ApiBasedToolSchemaParser component. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-6618 Overview

A Server-Side Request Forgery (SSRF) vulnerability has been discovered in Langgenius Dify, an open-source LLM application development platform. The flaw exists in the parse_openai_plugin_json_to_tool_bundle function within the api/core/tools/utils/parser.py file of the ApiBasedToolSchemaParser component. By manipulating the url argument, an attacker can force the server to make arbitrary HTTP requests to internal or external resources, potentially leading to unauthorized access to internal services, data exfiltration, or further network reconnaissance.

Critical Impact

Remote attackers with low privileges can exploit this SSRF vulnerability to access internal network resources, bypass security controls, and potentially pivot to other systems within the organization's infrastructure.

Affected Products

  • Langgenius Dify versions up to 1.13.3
  • ApiBasedToolSchemaParser component (api/core/tools/utils/parser.py)

Discovery Timeline

  • 2026-04-20 - CVE CVE-2026-6618 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-6618

Vulnerability Analysis

This SSRF vulnerability (CWE-918) resides in the tool schema parsing functionality of Dify's API-based tool management system. The parse_openai_plugin_json_to_tool_bundle function processes OpenAI plugin configurations and fails to properly validate or sanitize URL inputs before making server-side requests.

When a user supplies a crafted URL parameter through the affected function, the application processes it without adequate validation, allowing the server to initiate outbound requests to arbitrary destinations. This can include internal network addresses (such as 127.0.0.1, 169.254.169.254 for cloud metadata services, or private IP ranges), potentially exposing sensitive internal resources that should not be accessible from the public internet.

The attack requires network access and low-level privileges, making it exploitable by authenticated users with minimal access to the Dify platform. The vulnerability allows for limited confidentiality, integrity, and availability impacts on the vulnerable system itself.

Root Cause

The root cause of this vulnerability is insufficient input validation in the URL parsing logic within the parse_openai_plugin_json_to_tool_bundle function. The code fails to implement proper URL allowlisting, blocklisting of internal IP ranges, or DNS rebinding protections. When processing OpenAI plugin JSON configurations, the parser directly uses user-supplied URLs to fetch remote resources without verifying that the destination is an intended external endpoint.

Attack Vector

The attack is network-based and can be launched remotely by any authenticated user with access to the tool configuration features. An attacker can:

  1. Access the API-based tool schema parser functionality
  2. Provide a malicious URL pointing to internal resources (e.g., cloud metadata endpoints, internal APIs, or localhost services)
  3. Force the server to make requests on their behalf, bypassing network segmentation
  4. Exfiltrate responses containing sensitive data or use the server as a proxy for further attacks

The vulnerability mechanism involves URL parameter manipulation in the parser component. When a malicious URL is submitted, the server-side code fetches the resource without proper validation, effectively acting as an open proxy. Technical details and a proof of concept are available in the GitHub Gist PoC Resource.

Detection Methods for CVE-2026-6618

Indicators of Compromise

  • Outbound HTTP requests from the Dify server to internal IP ranges (10.x.x.x, 172.16.x.x, 192.168.x.x, 127.0.0.1)
  • Requests to cloud metadata endpoints such as 169.254.169.254 or metadata.google.internal
  • Unusual network traffic patterns originating from the parser.py module or API tool management endpoints
  • Log entries showing URL fetching activities with non-standard or internal destinations

Detection Strategies

  • Monitor network egress traffic from Dify application servers for connections to internal IP ranges or cloud metadata services
  • Implement application-level logging for all URL fetch operations in the api/core/tools/utils/parser.py module
  • Deploy Web Application Firewall (WAF) rules to detect and block SSRF attack patterns in API requests
  • Use endpoint detection and response (EDR) solutions to identify anomalous network behavior from application processes

Monitoring Recommendations

  • Enable detailed logging for the ApiBasedToolSchemaParser component to capture all URL parameters processed
  • Set up alerts for any server-initiated connections to RFC 1918 private address spaces or link-local addresses
  • Monitor DNS queries from the application server for suspicious internal hostnames or cloud provider metadata domains
  • Review audit logs for unusual tool configuration activities, particularly those involving external URL references

How to Mitigate CVE-2026-6618

Immediate Actions Required

  • Restrict network access to the Dify tool configuration endpoints to trusted administrators only
  • Implement network-level egress filtering to prevent the Dify server from connecting to internal resources
  • Deploy WAF rules to block requests containing internal IP addresses or metadata service URLs in the url parameter
  • Review existing tool configurations for any suspicious or unauthorized URL entries

Patch Information

At the time of publication, the vendor (Langgenius) has not released an official security patch for this vulnerability. According to the vulnerability disclosure, the vendor was contacted but did not respond. Organizations should monitor the Dify GitHub repository for security updates and apply patches immediately when available.

For additional technical context, refer to the VulDB Vulnerability Entry #358253 and the VulDB Submission #792241.

Workarounds

  • Implement URL allowlisting at the application level to restrict allowed domains for tool configurations
  • Deploy network segmentation to isolate the Dify application server from sensitive internal resources
  • Use a forward proxy with strict egress rules for all outbound requests from the application
  • Disable or restrict access to the ApiBasedToolSchemaParser functionality until an official patch is available
bash
# Example iptables rules to block internal network access from the application server
# Block requests to localhost
iptables -A OUTPUT -d 127.0.0.0/8 -m owner --uid-owner dify-user -j DROP

# Block requests to private IP ranges
iptables -A OUTPUT -d 10.0.0.0/8 -m owner --uid-owner dify-user -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -m owner --uid-owner dify-user -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -m owner --uid-owner dify-user -j DROP

# Block requests to cloud metadata service
iptables -A OUTPUT -d 169.254.169.254/32 -m owner --uid-owner dify-user -j DROP

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechLanggenius

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Gist PoC Resource

  • VulDB Submission #792241

  • VulDB Vulnerability #358253

  • VulDB CTI for #358253
  • Related CVEs
  • CVE-2026-6617: Langgenius Dify SSRF Vulnerability

  • CVE-2026-6619: Langgenius Dify XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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