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

CVE-2026-6617: Langgenius Dify SSRF Vulnerability

CVE-2026-6617 is a server-side request forgery flaw in Langgenius Dify versions up to 0.6.9 affecting the ApiToolManageService component. This post covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-6617 Overview

A Server-Side Request Forgery (SSRF) vulnerability has been identified in LangGenius Dify, an open-source platform for building AI-powered applications. The vulnerability exists in the get_api_tool_provider_remote_schema function within the api/services/tools/api_tools_manage_service.py file of the ApiToolManageService component. By manipulating the url argument, an attacker can force the server to make arbitrary HTTP requests to internal or external resources, potentially exposing sensitive internal services, cloud metadata endpoints, or enabling further attacks against internal infrastructure.

Critical Impact

Authenticated attackers can exploit this SSRF vulnerability to access internal network resources, probe internal services, and potentially exfiltrate sensitive data from cloud metadata services or internal APIs not intended to be externally accessible.

Affected Products

  • LangGenius Dify versions up to and including 0.6.9
  • ApiToolManageService component
  • api/services/tools/api_tools_manage_service.py module

Discovery Timeline

  • April 20, 2026 - CVE-2026-6617 published to NVD
  • April 22, 2026 - Last updated in NVD database

Technical Details for CVE-2026-6617

Vulnerability Analysis

This vulnerability is classified as CWE-918: Server-Side Request Forgery (SSRF). The flaw resides in the get_api_tool_provider_remote_schema function, which processes user-supplied URL input without adequate validation or sanitization. When the application fetches the remote schema, it blindly trusts the provided URL parameter, allowing attackers to redirect requests to arbitrary destinations.

The exploit has been publicly disclosed through a GitHub Gist PoC Script, meaning attackers have access to working proof-of-concept code. The vendor was contacted regarding this disclosure but did not respond, leaving users without official guidance during the disclosure period.

Root Cause

The root cause of this vulnerability is insufficient input validation on the url parameter within the get_api_tool_provider_remote_schema function. The application fails to implement proper URL allowlisting, schema validation, or IP address blocking that would prevent requests to internal network ranges, localhost, or cloud metadata endpoints. This allows authenticated users to craft malicious URL values that redirect server-side HTTP requests to unintended targets.

Attack Vector

The attack is network-based and requires low-level authentication to the Dify platform. An authenticated attacker can exploit this vulnerability by submitting a crafted URL value to the vulnerable endpoint. The server then makes an HTTP request to the attacker-specified destination, potentially allowing:

  • Access to internal services (databases, admin panels, internal APIs)
  • Cloud metadata service access (e.g., AWS IMDSv1 at http://169.254.169.254/)
  • Port scanning of internal network infrastructure
  • Bypassing firewall restrictions to access protected resources
  • Data exfiltration through DNS or HTTP channels

The vulnerability is exploited by manipulating the URL parameter in API requests to the ApiToolManageService endpoint. Attackers can supply internal IP addresses, localhost references, or cloud metadata URLs to probe internal infrastructure and potentially extract sensitive credentials or configuration data. Detailed exploitation techniques are available in the VulDB entry.

Detection Methods for CVE-2026-6617

Indicators of Compromise

  • Unusual outbound HTTP requests from the Dify application server to internal IP ranges (10.x.x.x, 172.16.x.x, 192.168.x.x)
  • Requests targeting cloud metadata endpoints (169.254.169.254, 169.254.170.2)
  • High volume of requests to the api_tools_manage_service endpoint with varying URL parameters
  • Server-side requests to localhost or loopback addresses (127.0.0.1, ::1)

Detection Strategies

  • Implement network monitoring to detect anomalous outbound connections from the Dify application server
  • Monitor application logs for requests to get_api_tool_provider_remote_schema with suspicious URL patterns
  • Deploy web application firewall (WAF) rules to block SSRF attack patterns in URL parameters
  • Configure egress filtering alerts for connections to private IP ranges from application servers

Monitoring Recommendations

  • Enable verbose logging for the ApiToolManageService component to capture all URL parameter values
  • Set up alerting for any requests to RFC 1918 private address ranges from the application tier
  • Monitor DNS queries from the application server for unusual internal hostname resolution attempts
  • Implement network segmentation monitoring to detect lateral movement attempts

How to Mitigate CVE-2026-6617

Immediate Actions Required

  • Upgrade LangGenius Dify to a version newer than 0.6.9 when a patched release becomes available
  • Implement network-level egress filtering to block requests from the application server to internal IP ranges
  • Deploy a WAF with SSRF protection capabilities in front of the Dify application
  • Review application logs for evidence of exploitation attempts

Patch Information

At the time of publication, no official patch has been released by the vendor. The vendor was contacted during the responsible disclosure process but did not respond. Organizations should monitor the LangGenius Dify GitHub repository for security updates and patch releases. Additional vulnerability details are available through the VulDB Submission #792231.

Workarounds

  • Implement a reverse proxy or WAF rule to validate and sanitize URL parameters before they reach the application
  • Configure network-level controls to prevent the Dify application server from making requests to internal network ranges
  • Restrict access to the affected ApiToolManageService endpoint to trusted administrators only
  • Deploy IP allowlisting at the network level to limit which external URLs the application can fetch
bash
# Example iptables rules to block SSRF to internal networks
# Block requests to private IP ranges from application server
iptables -A OUTPUT -d 10.0.0.0/8 -m owner --uid-owner www-data -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -m owner --uid-owner www-data -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -m owner --uid-owner www-data -j DROP
iptables -A OUTPUT -d 169.254.169.254/32 -m owner --uid-owner www-data -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 Script

  • VulDB Submission #792231

  • VulDB Vulnerability #358252

  • VulDB CTI for #358252
  • Related CVEs
  • CVE-2026-6618: 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