CVE-2026-45272
Received Received - Intake

Stored Code Injection in MyBooks Web Server

Vulnerability report for CVE-2026-45272, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: GitHub, Inc.

Description

MyBooks is an enhanced and easy-to-use personal ebook management web server also known as Talebook. In 3.41.2 and earlier, the AdminSettings.post handler in webserver/handlers/admin.py accepts SOCIAL_AUTH key names without validating quotes or newline characters, and SettingsLoader.dumpfile in webserver/loader.py concatenates those names into the generated Python source file auto.py without escaping them. An administrator can submit a crafted SOCIAL_AUTH key name that closes the settings dictionary and injects arbitrary Python statements. The application later executes those statements because SettingsLoader.loadfile imports auto.py as a module, and setting autoreload to true invokes restart_async so a process supervisor restarts the service and triggers the import. Successful exploitation executes commands with the privileges of the application service account and can disclose data, modify files, establish persistence, or disrupt the service. Related authorization and registration vulnerabilities can reduce the effective privilege requirement in a chained attack, but the standalone vulnerability requires administrator access. This issue is fixed in version 3.42.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
mybooks mybooks 3.42.0
mybooks mybooks to 3.42.0 (exc)
poxenstudio mybooks to 3.42.0 (exc)
poxenstudio talebook to 3.42.0 (exc)
poxenstudio mybooks 3.42.0
poxenstudio talebook 3.42.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-829 The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Remote Code Execution (RCE) vulnerability in the MyBooks web server (also known as Talebook) affecting versions 3.41.2 and earlier. The flaw allows an attacker with admin access to inject malicious Python code into a configuration file by crafting a SOCIAL_AUTH key name with quotes and newlines. When the server restarts, it executes the injected code with the privileges of the application service account.

Detection Guidance

Check if your MyBooks instance is running a vulnerable version (≀ 3.41.2). Inspect the auto.py file in the webserver directory for unexpected Python code injections. Monitor server logs for unauthorized restarts or unusual activity after admin settings changes.

Impact Analysis

An attacker could exploit this to execute arbitrary commands on the server, leading to data disclosure, file modification, persistence establishment, or service disruption. The impact depends on the application's privileges but could be severe if the service runs with high permissions.

Compliance Impact

This vulnerability could lead to unauthorized data access, modification, or exfiltration, violating GDPR's integrity and confidentiality principles and HIPAA's security requirements for protected health information. Non-compliance risks include fines, legal action, and reputational damage.

Mitigation Strategies

Upgrade to version 3.42.0 or later immediately. Remove write permissions from the auto.py file to prevent further modifications. Disable autoreload if enabled and review admin settings for suspicious entries.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45272. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart