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.
Published: 2026-08-29
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

Generated by OpenCVE AI on August 29, 2026 at 15:51 UTC.

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 31 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 29 Aug 2026 14:00:00 +0000

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'}


Subscriptions

Bookstackapp Bookstack
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T18:21:21.212Z

Reserved: 2026-08-29T13:22:57.885Z

Link: CVE-2026-82450

cve-icon Vulnrichment

Updated: 2026-08-31T18:21:17.579Z

cve-icon NVD

Status : Deferred

Published: 2026-08-29T14:16:37.930

Modified: 2026-08-31T20:56:08.800

Link: CVE-2026-82450

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T16:00:03Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type