Skip to main content

MaxKB CVE-2026-42336

| EUVDEUVD-2026-31989 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-05-26 GitHub_M
5.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to MaxKB with low-privilege account
  2. Delivery
    Submit OSS URL using attacker-controlled domain pointing to public IP
  3. Exploit
    SSRF validator resolves domain, sees public IP, approves request
  4. Execution
    Attacker rapidly updates DNS record to target internal IP
  5. Persist
    MaxKB re-resolves domain on actual fetch, connects to internal service
  6. Impact
    Internal service response returned, internal network exposed

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

The attacker must hold a valid MaxKB account with at least low-level privileges (PR:L per CVSS 4.0 vector) sufficient to invoke the OSS file service URL fetch feature - unauthenticated exploitation is not supported by the available data. The target MaxKB instance must be running version 2.8.0 or earlier. Exploitation further requires the attacker to control a DNS domain and have the ability to update its DNS records with a very short TTL, enabling the TOCTOU window between validation and fetch - this is what drives the High attack complexity (AC:H) rating. The exploitable window depends on DNS caching behavior of the MaxKB host; environments with aggressive local DNS caching narrow the window significantly. Exploitation is limited to services network-reachable from the MaxKB server itself; the MaxKB application process has no direct C/I/A impact (VC:N/VI:N/VA:N), meaning the attack does not compromise MaxKB itself but pivots through it to internal infrastructure.

Impact

The CVSS 4.0 base score of 5.1 (Medium) is consistent with the actual threat profile. High attack complexity (AC:H) is the primary risk-reducing factor, as successful exploitation requires precise DNS record timing or short-TTL manipulation, making automated mass scanning unlikely. Low privileges required (PR:L) means any authenticated MaxKB user is a potential attacker, which is a meaningful threat in enterprise multi-tenant deployments. The CVSS subsequent system confidentiality impact is rated High (SC:H), indicating that the internal services reachable from the MaxKB host can be meaningfully read - this is the real danger for enterprises where MaxKB has network adjacency to internal APIs, cloud metadata endpoints, or sensitive infrastructure. The vulnerable system itself shows no direct confidentiality, integrity, or availability impact (VC:N/VI:N/VA:N), confirming this is a lateral movement enabler rather than a direct compromise path. EPSS data is absent from the provided intelligence, so probabilistic exploitation forecasting is not possible. The vulnerability is not in CISA KEV and no public POC has been identified, suggesting no widespread opportunistic exploitation at time of analysis. Overall, this is a real, targeted risk for enterprise deployments - not a noise-level finding - but the high complexity and authentication barrier keep it from being a critical-priority emergency for most organizations.

Exploit ScenarioDerived

An authenticated attacker with a low-privilege MaxKB account registers a domain with a very short TTL (e.g., 1 second), initially pointing it to a public IP to pass the SSRF validation check in the OSS URL fetch feature. Immediately after validation resolves the domain, the attacker updates the DNS record to point to an internal target such as a cloud instance metadata service (169.254.169.254) or an internal REST API. When MaxKB performs the actual HTTP fetch, it re-resolves the domain and connects to the internal service, potentially returning sensitive internal data to the attacker. No public POC has been identified, but the DNS rebinding technique is well-documented and tooling for it is publicly available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 26, 2026

Authenticated SSRF bypass in MaxKB's OSS file service URL fetch allows low-privilege users to reach internal network services by exploiting inconsistent DNS resolution between validation and request execution. MaxKB 2.8.0 and all prior versions are affected; the attacker causes the validation step to resolve a domain to a public IP, then swaps the DNS record so the actual HTTP fetch resolves to an internal address, bypassing the SSRF filter entirely. No public exploit has been identified and this CVE is not listed in CISA KEV; a vendor-released patch (2.8.1) is available.

RemediationAI

Vendor-released patch: 2.8.1. Upgrade MaxKB to version 2.8.1 or later as the primary remediation; this version is confirmed by the vendor advisory at https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-6m4p-9wwc-4q5q. If immediate upgrade is not feasible, restrict access to the OSS URL fetch feature to the most trusted accounts only, reducing the pool of potential abusers - note this may break legitimate use cases for lower-privilege users. As a network-layer control, configure egress firewall rules on the MaxKB host to block outbound connections to RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and 169.254.0.0/16 (cloud metadata ranges); this prevents the actual internal fetch even if DNS rebinding succeeds, though it will also block intentional internal integrations. Deploying a DNS resolver with rebinding protection (which rejects DNS responses for public domains that resolve to private IPs) addresses the root cause at the network level but requires infrastructure changes and may affect split-horizon DNS configurations. None of the workarounds fully eliminate the TOCTOU race - patching to 2.8.1 is the only complete fix.

Affected VersionsENISA

MaxKB < 2.8.1

Affected Packages

euvd maxkb fix: 2.8.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MaxKB (CPE: cpe:2.3:a:1panel-dev:maxkb:*:*:*:*:*:*:*:*) is an open-source enterprise AI assistant developed by 1Panel-dev that supports fetching remote URLs as part of its OSS (Object Storage Service) file processing pipeline. The root cause is CWE-367 (Time-of-Check Time-of-Use / TOCTOU Race Condition): the application resolves the attacker-supplied domain hostname once during SSRF validation and a second time during the actual HTTP request, with no guarantee both resolutions return the same IP. An attacker exploits this window by controlling a DNS record with a very short TTL - pointing it to a legitimate public IP during validation to pass the filter, then immediately updating the record to an RFC 1918 or loopback address. When MaxKB performs the real fetch, it re-resolves the hostname and now reaches the internal target. This technique, known as DNS rebinding, is a well-understood class of SSRF bypass enabled specifically by TOCTOU handling in URL validators.

Know when Maxkb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 26, 2026 - 22:02 EUVD
CVSS changed
May 26, 2026 - 21:22 NVD
5.1 (MEDIUM)
CVE Published
May 26, 2026 - 20:22 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

MaxKB is an open-source AI assistant for enterprise. MaxKB 2.8.0 and prior are vulnerable to a server-side request forgery (SSRF) bypass in the OSS file service URL fetch functionality due to inconsistent DNS resolution between validation and actual request execution, allowing attackers to access internal network services. This vulnerability is fixed in 2.8.1.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Maxkb

View all
CVE-2025-48950 HIGH POC
8.8 Jun 03

MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in

CVE-2026-77521 CRITICAL
10.0 Sep 21

Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands

CVE-2025-66419 CRITICAL
10.0 Dec 11

Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py

CVE-2026-56779 MEDIUM POC
5.3 Jun 25

Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role

CVE-2026-79916 CRITICAL
9.1 Sep 21

Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by

CVE-2026-54149 HIGH
8.8 Jul 10

OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated

CVE-2025-64511 HIGH
8.8 Nov 13

Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis

CVE-2025-66446 HIGH
7.5 Dec 11

Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d

CVE-2026-44847 HIGH
7.5 May 26

Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we

CVE-2026-77523 HIGH
7.4 Sep 21

Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut

CVE-2026-39420 HIGH
7.4 Apr 14

MaxKB versions 2.7.1 and below allow authenticated users with tool execution privileges to bypass the LD_PRELOAD-based s

CVE-2026-129998 HIGH
7.3 Nov 20

MaxKB releases prior to 2.10.7-lts evaluate attacker-supplied JavaScript stored in a custom tool's Init Param definition

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy