A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-64511

CVE-2025-64511: Maxkb RCE Vulnerability

CVE-2025-64511 is a remote code execution vulnerability in Maxkb that allows users to access internal network services through Python code in the tool module. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-64511 Overview

CVE-2025-64511 affects MaxKB, an open-source AI assistant for enterprise deployments developed by 1Panel-dev. The vulnerability exists in MaxKB versions prior to 2.3.1 and resides in the tool module. Authenticated users can execute Python code that reaches internal network services, including databases, even though the code runs inside a sandbox. The flaw is classified as Server-Side Request Forgery [CWE-918]. Version 2.3.1 remediates the issue.

Critical Impact

Authenticated attackers can pivot from the MaxKB sandbox to internal network services, exposing databases and other backend systems to unauthorized access and data compromise.

Affected Products

  • MaxKB versions prior to 2.3.1
  • 1Panel-dev MaxKB open-source AI assistant
  • Self-hosted MaxKB enterprise deployments

Discovery Timeline

  • 2025-11-13 - CVE-2025-64511 published to NVD
  • 2025-12-04 - Last updated in NVD database

Technical Details for CVE-2025-64511

Vulnerability Analysis

MaxKB exposes a tool module that allows users to author and execute Python code as part of AI assistant workflows. The execution environment is wrapped in a sandbox intended to restrict access to the host and surrounding infrastructure. The sandbox boundary fails to constrain outbound network access. As a result, Python code executed inside the tool module can issue requests to internal network endpoints reachable from the MaxKB server.

This behavior matches the Server-Side Request Forgery pattern described in [CWE-918]. Internal services such as databases, metadata endpoints, administrative panels, and other backend APIs are exposed through the application server's network position. An attacker with low-privilege authenticated access to MaxKB can interact with these services directly.

The attack does not require user interaction and can be triggered over the network. Confidentiality, integrity, and availability impacts are all rated high under the published CVSS vector.

Root Cause

The sandbox surrounding the Python tool module restricts code execution semantics but does not enforce egress network controls. Internal hostnames, loopback addresses, and private IP ranges remain reachable from sandboxed code. The application trusts user-supplied tool code to operate within the intended scope without validating destination targets for outbound connections.

Attack Vector

An authenticated MaxKB user creates or modifies a tool that contains Python code. The code opens connections to internal targets reachable from the MaxKB host, such as 127.0.0.1, database service hostnames, or cloud metadata services. When the tool executes, the sandbox permits the network calls. The attacker receives responses or performs writes against the targeted backend, bypassing perimeter controls that assume only the MaxKB application interacts with these services.

The vulnerability manifests in MaxKB's tool execution path. See the GitHub Security Advisory GHSA-9287-g7px-9rp4 for vendor-provided technical details.

Detection Methods for CVE-2025-64511

Indicators of Compromise

  • Outbound connections from the MaxKB application process to internal database ports (3306, 5432, 6379, 27017, 1433) that do not match normal application data flows.
  • Tool module records or audit entries containing Python code with socket, requests, urllib, or database driver imports targeting private IP ranges or loopback addresses.
  • Unexpected authentication attempts or query patterns on internal databases originating from the MaxKB server IP.
  • Access attempts to cloud metadata endpoints such as 169.254.169.254 from the MaxKB host.

Detection Strategies

  • Review MaxKB tool definitions for code referencing internal hostnames, private CIDR ranges, or sensitive backend ports.
  • Correlate MaxKB application logs with network flow records to identify tool executions immediately followed by connections to non-application backends.
  • Alert on first-seen destination pairs between the MaxKB host and internal services not previously contacted by the application.

Monitoring Recommendations

  • Capture and retain process-level network telemetry from the MaxKB host for retrospective analysis.
  • Monitor database authentication logs for connections originating from the MaxKB application identity outside normal query patterns.
  • Track tool creation and modification events in MaxKB with the associated user identity for post-incident attribution.

How to Mitigate CVE-2025-64511

Immediate Actions Required

  • Upgrade MaxKB to version 2.3.1 or later, which contains the vendor fix.
  • Inventory existing tool module definitions and remove or quarantine any tools containing unexpected network or database calls.
  • Rotate credentials for internal services reachable from the MaxKB host if exposure is suspected.
  • Restrict MaxKB user accounts with tool authoring privileges to trusted administrators until the upgrade is complete.

Patch Information

MaxKB version 2.3.1 fixes the issue. Refer to the GitHub Security Advisory GHSA-9287-g7px-9rp4 for the official advisory and release notes.

Workarounds

  • Apply network egress filtering on the MaxKB host to deny outbound traffic to internal subnets, loopback addresses, and cloud metadata endpoints.
  • Place MaxKB in a network segment that cannot reach production databases or sensitive backend services.
  • Disable or restrict the tool module for non-administrative users until the patch is applied.
  • Enforce least-privilege credentials for any backend service that MaxKB legitimately needs to reach.
bash
# Example host-level egress restriction using iptables
# Block MaxKB process traffic to private ranges except required destinations
iptables -A OUTPUT -m owner --uid-owner maxkb -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner maxkb -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner maxkb -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner maxkb -d 169.254.169.254 -j REJECT

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMaxkb

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-918
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39421: Maxkb Maxkb Sandbox Escape RCE Vulnerability

  • CVE-2026-39424: MaxKB Chat Export RCE Vulnerability

  • CVE-2026-39420: MaxKB Sandbox Escape RCE Vulnerability

  • CVE-2026-39417: MaxKB AI Assistant RCE 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