CVE-2025-53927 MaxKB sandbox bypass

Medium 4.6 Published Updated

Attackers can bypass sandbox restrictions in MaxKB to execute arbitrary code and establish reverse shells by copying files to executable directories.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-53927?

CVE-2025-53927 is a medium-severity code injection vulnerability in 1Panel-dev MaxKB, published on 17 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

MaxKB is an open-source AI assistant for enterprise. Prior to version 2.0.0, the sandbox design rules can be bypassed because MaxKB only restricts the execution permissions of files in a specific directory. Therefore, an attacker can use the `shutil.copy2` method in Python to copy the command they want to execute to the executable directory. This bypasses directory restrictions and reverse shell. Version 2.0.0 fixes the issue.

Weakness: CWE-94

Which versions are affected by CVE-2025-53927?

It affects 1 product.

Products include Maxkb Maxkb.

How do I fix CVE-2025-53927?

No fix has been published for CVE-2025-53927 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-53927 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53927 exists.

Sources

Also known as GHSA-5xhm-4j3v-87m4.

Is CVE-2025-53927 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free