CVE-2025-48950 MaxKB Python Sandbox Bypass in Function Library
Attackers can bypass the Python sandbox in MaxKB to execute arbitrary code by leveraging executable files in non-restricted directories.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-48950?
CVE-2025-48950 is a medium-severity code injection vulnerability in 1Panel-dev MaxKB, published on 3 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
MaxKB is an open-source AI assistant for enterprise. Prior to version 1.10.8-lts, Sandbox only restricts the execution permissions of binary files in common directories, such as `/bin,/usr/bin`, etc. Therefore, attackers can exploit some files with execution permissions in non blacklisted directories to carry out attacks. Version 1.10.8-lts fixes the issue.
Weakness: CWE-276
Which versions are affected by CVE-2025-48950?
It affects 1 product.
Products include Maxkb Maxkb.
How do I fix CVE-2025-48950?
No fix has been published for CVE-2025-48950 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-48950 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48950 exists.
Other vulnerabilities in 1Panel-dev MaxKB
- CVE-2025-66419 MaxKB vulnerable to privilege escalation through sandbox bypass
- CVE-2025-66446 MaxKB has a Python sandbox LD_PRELOAD bypass
- CVE-2025-64511 MaxKB has SSRF in sandbox
- CVE-2026-39422 MaxKB has Stored XSS via ChatHeadersMiddleware
- CVE-2026-39423 Stored XSS via Eval Injection in EchartsRander Component
Sources
Also known as GHSA-p2qq-x9j2-px8v.