CVE-2026-82450

BookStack before 26.05.4 Remote Code Execution via Book Cover

Published Aug 29, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
BookStack before 26.05.4 contains a remote code execution vulnerability in the portable ZIP import functionality that allows users with Import Content and Create Books permissions to upload a PHP polyglot file as a book cover. Attackers can bypass image extension validation by embedding a PHP file with a .php filename in the ZIP archive, which is stored in the public web root and executed by unauthenticated requests.

Analysis

AI-generated

Technical impact

BookStack versions prior to 26.05.4 are vulnerable to remote code execution through the portable ZIP import feature. An attacker can upload a PHP file disguised as a book cover by embedding it in a ZIP archive. The import process accepts the file, stores it in the public web root, and the PHP code is executed by any unauthenticated request to that location. This flaw allows an attacker to run arbitrary PHP code on the host where BookStack is deployed, compromising confidentiality, integrity, and availability of the application and underlying server.

Affected Systems

The vulnerability affects the BookStack application (bookstackapp:bookstack) in all releases before 26.05.4. Systems using older BookStack editions should review their installed version and apply updates accordingly.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and while an EPSS score is not available, the lack of a KEV listing does not diminish the risk of exploitation. Attackers only need Import Content and Create Books permissions to construct the malicious ZIP, and the code is triggered by unauthenticated access to the uploaded cover, making the exploit straightforward once the malicious file is in place. The vulnerability offers a clear attack path with minimal prerequisites, resulting in a high likelihood of exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update BookStack to version 26.05.4 or later to eliminate the vulnerable ZIP import logic.
  • If upgrading is not immediately possible, limit the Import Content and Create Books permissions to trusted users only and configure the web server to prevent execution of PHP files in the public/cover directory; alternatively, rename the folder to a location outside the web root.
  • Audit existing uploaded covers for embedded PHP code, remove any non‑image files, and monitor application logs for unauthorized execution attempts.

Generated by OpenCVE AI on August 29, 2026 at 15:51 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': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description BookStack before 26.05.4 contains a remote code execution vulnerability in the portable ZIP import functionality that allows users with Import Content and Create Books permissions to upload a PHP polyglot file as a book cover. Attackers can bypass image extension validation by embedding a PHP file with a .php filename in the ZIP archive, which is stored in the public web root and executed by unauthenticated requests.
Title BookStack before 26.05.4 Remote Code Execution via Book Cover
First Time appeared Bookstackapp
Bookstackapp bookstack
Weaknesses CWE-434
CPEs cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*
Vendors & Products Bookstackapp
Bookstackapp bookstack
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:51 PM
Reserved
Aug 29, 2026, 1:22 PM
Status
Deferred
Published
Aug 29, 2026, 2:16 PM
Modified
Oct 8, 2026, 4:17 PM