Skip to main content

Talebook CVE-2026-45272

| EUVDEUVD-2026-62486 CRITICAL
Code Injection (CWE-94)
2026-08-19 GitHub_M
9.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain admin session (direct or chained)
  2. Delivery
    Submit crafted SOCIAL_AUTH key name
  3. Exploit
    Break out of settings dict in auto.py
  4. Install
    Enable autoreload to force restart
  5. C2
    Supervisor restarts and imports auto.py
  6. Execute
    Execute Python as service account
  7. Impact
    Disclose data, persist, or disrupt

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated administrator account (PR:H) able to reach the AdminSettings.post handler in webserver/handlers/admin.py, and the ability to submit a SOCIAL_AUTH setting key containing quote/newline characters that break out of the generated dictionary in auto.py. Reliable code execution additionally depends on the settings file being re-imported: the described path sets autoreload to true so restart_async triggers a process-supervisor restart and re-import of auto.py - without a restart/reload the injected module is not executed. Exploitation is limited to versions 3.41.2 and earlier; standalone use is gated by admin privilege, though vendor-noted authorization and registration flaws may lower that barrier in a chained attack.

Impact

This is a genuine high-priority issue for anyone running Talebook, but its real-world blast radius is bounded by the PR:H requirement in the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) - exploitation as a standalone bug needs administrator access, which is why it is a privileged-RCE rather than an internet-spray worm. The vendor explicitly notes related authorization and registration weaknesses (reflected in the commit's active-user check in base.py and the ALLOW_REGISTER gate in user.py) that could chain to reduce the required privilege, which materially raises concern. No EPSS score, no KEV listing, and no POC were provided, so the numeric high score (9.4) is driven by impact (VC/VI/VA:H and scope change) rather than by demonstrated ease of exploitation; treat the 9.4 as an impact-weighted ceiling, not evidence of imminent mass exploitation. Given that the fix is public and the code diff plainly reveals the injection point, any operator - even a mid-sized municipal library IT team in inowroclaw - should treat patching as urgent because the vulnerable pattern is easy to reverse-engineer from the commit. Bottom line: real priority to patch, but not an unauthenticated remote catastrophe absent the chained pre-conditions.

Exploit ScenarioDerived

An attacker who has (or obtains via a chained registration/authorization weakness) an administrator session submits a settings update whose SOCIAL_AUTH key name contains a quote and newline that closes the settings dictionary and appends attacker-chosen Python statements. They also enable autoreload, prompting the process supervisor to restart the service, which imports the poisoned auto.py and executes the payload as the service account. No public POC is identified at time of analysis, but the fixing commit makes the injection mechanics straightforward to reconstruct.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Authenticated remote code execution affects Talebook (MyBooks/PoxenStudio) ebook management server versions 3.41.2 and earlier, where an administrator can inject arbitrary Python into the auto-generated auto.py settings module via a crafted SOCIAL_AUTH key name. Because the server imports auto.py as a live module and can auto-restart to reload it, injected statements execute with the service account's privileges, enabling data disclosure, file modification, persistence, or service disruption. No public exploit is identified at time of analysis; the fix is version 3.42.0, and chained authorization/registration weaknesses noted by the vendor could lower the effective privilege barrier.

RemediationAI

Vendor-released patch: upgrade to Talebook 3.42.0, which escapes configuration keys with repr() in webserver/loader.py and adds a strict ^[A-Za-z0-9_]+$ allowlist for setting key names in webserver/handlers/admin.py (fixing commit a1780c98b00566af7da2fc099fe38500efc02e92; release https://github.com/PoxenStudio/mybooks/releases/tag/3.42.0; advisory GHSA-4wfr-9gcv-j638). If you cannot upgrade immediately, reduce exposure by tightly restricting who holds administrator accounts and by disabling the autoreload setting so that injected code in auto.py is not automatically re-imported by a supervisor restart (trade-off: legitimate settings changes then require a manual, controlled restart). Because the vendor flags chained authorization/registration weaknesses, also disable open registration (ALLOW_REGISTER=false) and place the admin interface behind network ACLs or a VPN to shrink the pool of accounts able to reach AdminSettings.post; these controls limit the attack surface but do not remove the underlying injection until 3.42.0 is applied.

Affected VersionsENISA

talebook < 3.42.0

Affected Packages

euvd talebook fix: 3.42.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Talebook is a Python (Tornado-based) personal ebook management web server. The flaw is a classic CWE-94 Code Injection arising from unsafe source-code generation: SettingsLoader.dumpfile in webserver/loader.py serialized configuration keys using string formatting ('\''+k+'\'') without escaping, so operator-supplied SOCIAL_AUTH key names were concatenated verbatim into a generated Python file (auto.py). SettingsLoader.loadfile then imports that file as a module, turning any injected text into executable code. The vendor fix replaces the naive quoting with repr(k) so keys are safely escaped, and adds an input allowlist regex (^[A-Za-z0-9_]+$) in AdminSettings.post. The affected CPE is cpe:2.3:a:poxenstudio:talebook:*:*:*:*:*:*:*:* (all versions up to the fix).

Know when Talebook gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.1 CRITICAL

Network-reachable admin handler (AV:N/AC:L) but requires administrator privileges (PR:H, no UI); injected code escapes the web app to run as the OS service account (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Aug 19, 2026 - 16:17 EUVD
CVE Published
Aug 19, 2026 - 14:39 cve.org
CRITICAL 9.4

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Talebook ebook management server (versions 3.41.2 and earlier) contains a critical remote code execution vulnerability allowing authenticated administrators to inject and execute arbitrary code with full service account privileges. This enables data theft, file manipulation, persistent backdoors, and service outages, posing immediate risk to organizations relying on Talebook for data integrity and availability.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche self-hosted personal ebook server, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy