CVE-2026-79916

MaxKB AWS Bedrock model credential injection leads to remote code execution

Published Sep 21, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
MaxKB is an open-source AI assistant for enterprise. Prior to 2.10.5-lts, authenticated workspace members can inject control characters into AWS Bedrock access_key_id and secret_access_key fields that _update_aws_credentials writes to /root/.aws/credentials without safe parsing. An attacker can append a new AWS profile containing credential_process, then select that profile during a later model-validation request so botocore executes an attacker-controlled command as root. This vulnerability is fixed in 2.10.5-lts.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated workspace member of a MaxKB deployment to directly inject arbitrary control characters into the AWS Bedrock access_key_id and secret_access_key fields before they are written to the host’s .aws/credentials file. By appending a malicious credential_process entry, the attacker can create a new AWS profile that causes botocore to execute attacker‑controlled commands with root privileges during a subsequent model-validation request, resulting in full system compromise. This weakness corresponds to CWE‑78 (Command Injection).

Affected Systems

Any MaxKB instance with a version earlier than 2.10.5‑lts, regardless of deployment location, is vulnerable when AWS Bedrock integration is enabled and workspace members can update credentials. The issue was identified in the 1Panel‑dev MaxKB project and resolved in release v2.10.5‑lts.

Risk and Exploitability

With a CVSS score of 9.1, the base severity indicates a critical impact should the vulnerability be abused. The EPSS score is not available, but the exploitation path requires an authenticated user to modify credentials, after which the command executes as root. Although not listed in the CISA KEV catalog, the high severity warrants immediate attention, as attackers could target organizations using MaxKB with weak internal access controls or unreviewed workspace members to hijack the system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MaxKB to version 2.10.5‑lts or later to receive the fixed code
  • If an upgrade is not immediately possible, disable the AWS Bedrock integration or remove the ability for workspace members to modify credentials
  • Audit the /root/.aws/credentials file for unexpected or malicious profiles and remove any that are not legitimate

Generated by OpenCVE AI on September 21, 2026 at 21:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared 1panel
1panel maxkb
Vendors & Products 1panel
1panel maxkb
Type Values Removed Values Added
Description MaxKB is an open-source AI assistant for enterprise. Prior to 2.10.5-lts, authenticated workspace members can inject control characters into AWS Bedrock access_key_id and secret_access_key fields that _update_aws_credentials writes to /root/.aws/credentials without safe parsing. An attacker can append a new AWS profile containing credential_process, then select that profile during a later model-validation request so botocore executes an attacker-controlled command as root. This vulnerability is fixed in 2.10.5-lts.
Title MaxKB AWS Bedrock model credential injection leads to remote code execution
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 22, 2026, 3:39 PM
Reserved
Aug 25, 2026, 2:59 PM
Status
Deferred
Published
Sep 21, 2026, 9:17 PM
Modified
Sep 22, 2026, 4:17 PM