CVE-2026-45272
CriticalCVSS 9.4Exploitation Probability (EPSS)
Low risk30th percentile - higher than 30% of all known CVEs
Summary
MyBooks (Talebook) in version 3.41.2 and earlier contains a vulnerability in the handling of SOCIAL_AUTH key names in the AdminSettings.post handler. These names are concatenated without proper escaping into the auto.py file, allowing an administrator to inject arbitrary Python code. The code is executed during module import, enabling command execution with service privileges.
Risk Assessment
An administrator (or attacker with admin privileges) can execute arbitrary commands on the server, potentially leading to full system compromise, data theft, or persistent service disruption.
Recommendation
Update MyBooks to version 3.42.0 or later. Restrict access to the admin panel and monitor changes to configuration files.
Other vulnerabilities in MyBooks
See all- CVE-2026-45274Medium
MyBooks (Talebook) version 3.41.2 and earlier does not enforce the ALLOW_REGISTER configuration flag in the SignUp.post handler, allowing an unauthenticated attacker to create an account even when the administrator disabled public registration. Additionally, the process_auth_header function does not verify the account's active flag, so a newly created unactivated account can authenticate immediately and access user-level API functionality. This issue is fixed in version 3.42.0.
- CVE-2026-45273High
MyBooks (Talebook) in version 3.41.2 and earlier has a vulnerability in the AdminSettings.post handler for POST /api/admin/settings, which does not check the self.admin_user property despite having the auth decorator. Any authenticated regular user can overwrite server configuration values including SMTP credentials, OAuth client secrets, storage paths, and security feature flags. Additionally, the process_auth_header function fails to verify the account's active flag, allowing unactivated accounts to authenticate. This issue is fixed in version 3.42.0.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

