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
    • 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-2025-6775

CVE-2025-6775: Openvpn-cms-flask RCE Vulnerability

CVE-2025-6775 is a critical remote code execution vulnerability in Xiaoyunjie Openvpn-cms-flask affecting the User Creation Endpoint. Attackers can exploit command injection via the Username parameter. Learn the details.

Published: April 1, 2026

CVE-2025-6775 Overview

A critical command injection vulnerability has been discovered in xiaoyunjie openvpn-cms-flask versions up to 1.2.7. The vulnerability exists within the create_user function located in /app/api/v1/openvpn.py at the User Creation Endpoint. An attacker can exploit this flaw by manipulating the Username argument, enabling arbitrary command injection on the target system. The attack can be initiated remotely, and exploit details have been publicly disclosed.

Critical Impact

Remote attackers with low privileges can execute arbitrary commands on the server through the Username parameter in the User Creation Endpoint, potentially leading to full system compromise.

Affected Products

  • xiaoyunjie openvpn-cms-flask versions up to 1.2.7

Discovery Timeline

  • 2025-06-27 - CVE CVE-2025-6775 published to NVD
  • 2026-01-30 - Last updated in NVD database

Technical Details for CVE-2025-6775

Vulnerability Analysis

This vulnerability is classified as a Command Injection (CWE-77) and Injection (CWE-74) flaw. The vulnerable component resides in the create_user function within the /app/api/v1/openvpn.py file, which handles user creation requests. The Username argument is not properly sanitized before being used in system commands, allowing attackers to inject malicious commands through this parameter.

The vulnerability requires network access and low-level privileges to exploit. An authenticated attacker can craft a malicious username containing shell metacharacters or command sequences that will be executed by the underlying operating system when the user creation process invokes system commands.

Root Cause

The root cause of this vulnerability is improper input validation and sanitization in the create_user function. When processing the Username argument, the application fails to adequately filter or escape special characters and command separators before passing the input to system-level operations. This allows attackers to break out of the intended command context and inject arbitrary commands.

Attack Vector

The attack can be initiated remotely over the network. An attacker with valid credentials (low privilege level required) can send a specially crafted HTTP request to the User Creation Endpoint (/app/api/v1/openvpn.py). By including command injection payloads within the Username parameter, such as shell metacharacters (;, |, &&, backticks, or $() command substitution), the attacker can execute arbitrary commands on the server with the privileges of the web application process.

The vulnerability mechanism involves unsanitized user input being passed directly to system command execution functions. When a malicious username is submitted, the application constructs a command string that includes the attacker-controlled input, which is then executed by the system shell. For detailed technical analysis and exploit information, refer to the GitHub Issue Discussion.

Detection Methods for CVE-2025-6775

Indicators of Compromise

  • Unusual user creation requests with special characters in username fields (;, |, &&, backticks, $())
  • Unexpected process spawning from the web application context
  • System commands being executed by the web server process that are not part of normal operations
  • Log entries showing malformed or suspicious usernames in authentication or user management logs

Detection Strategies

  • Implement web application firewall (WAF) rules to detect command injection patterns in HTTP request parameters
  • Monitor for anomalous process execution chains where the Python/Flask application spawns unexpected child processes
  • Review application logs for failed or successful user creation attempts with suspicious username patterns
  • Enable audit logging for system command execution and monitor for unexpected command invocations

Monitoring Recommendations

  • Deploy endpoint detection and response (EDR) solutions to identify post-exploitation behavior
  • Implement real-time alerting for command injection attack patterns targeting API endpoints
  • Monitor network traffic for exfiltration attempts following potential exploitation
  • Configure SIEM rules to correlate web application logs with system process execution events

How to Mitigate CVE-2025-6775

Immediate Actions Required

  • Upgrade to openvpn-cms-flask version 1.2.8 or later immediately
  • If immediate upgrade is not possible, restrict access to the User Creation Endpoint to trusted networks only
  • Implement additional input validation at the web server or WAF level to block command injection patterns
  • Review existing user accounts for evidence of compromise through malicious usernames

Patch Information

The vulnerability has been addressed in version 1.2.8 of openvpn-cms-flask. The fix is available in commit e23559b98c8ea2957f09978c29f4e512ba789eb6. Organizations should upgrade to the patched version immediately. The patch can be obtained from the GitHub Release v1.2.8 or by applying the security commit directly.

Workarounds

  • Implement strict input validation on the Username parameter to allow only alphanumeric characters and safe symbols
  • Deploy a reverse proxy with input filtering capabilities to sanitize requests before they reach the application
  • Restrict network access to the User Creation Endpoint using firewall rules
  • Run the application with minimal system privileges to limit the impact of successful exploitation
bash
# Temporary mitigation - Restrict access to the vulnerable endpoint via nginx
location /app/api/v1/openvpn.py {
    allow 10.0.0.0/8;  # Allow only internal network
    deny all;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechXiaoyunjie Openvpn Cms Flask

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.45%

  • 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-74

  • CWE-77
  • Technical References
  • GitHub Release v1.2.8

  • VulDB #314091 CTIID

  • VulDB #314091

  • VulDB Submission #602373
  • Vendor Resources
  • GitHub Commit Reference

  • GitHub Issue Discussion

  • GitHub Issue Comment
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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