Description
MyBooks is an ebook management web server also known as Talebook. In 3.41.2 and earlier, the AdminSettings.post handler for POST /api/admin/settings in webserver/handlers/admin.py applies the auth decorator but does not check the self.admin_user property, unlike the corresponding GET handler. Any authenticated regular user can therefore overwrite server configuration values including SMTP credentials, OAuth client secrets, storage paths, security feature flags, and autoreload settings. The process_auth_header function in webserver/handlers/base.py also fails to verify the matched account's active flag, allowing a registered but unactivated account to authenticate and reach the vulnerable handler. Exploitation can disclose secrets through configuration access paths, sabotage application behavior, force service restarts, and supply the settings needed for related code-injection attacks. This issue is fixed in version 3.42.0.
Published: 2026-08-19
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

MyBooks (Talebook) is an e‑book management web server that, in versions 3.41.2 and earlier, fails to enforce that only administrator accounts can POST to /api/admin/settings. The POST handler is protected by an authentication decorator but does not verify the admin flag, and the authentication routine incorrectly accepts unactivated accounts. Consequently, any authenticated regular user can overwrite configuration files, expose SMTP credentials, OAuth secrets, storage locations, security flags, and autoreload settings. By changing these values an attacker can recover secret keys, disrupt service behavior, force restarts, or set the stage for further code‑injection attacks.

Affected Systems

The affected product is PoxenStudio Talebook (also known as MyBooks). Versions 3.41.2 and earlier are vulnerable; the issue is resolved in release 3.42.0.

Risk and Exploitability

The CVSS score is 8.7, rating the vulnerability as high severity. EPSS is not available, so the exact likelihood of exploitation cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote web request to the POST /api/admin/settings endpoint from an authenticated user, including accounts that are registered but not yet activated. Attackers can change configuration files to obtain secret credentials or disrupt service availability. Because the flaw resides in application logic rather than infrastructure, exploitation requires only legitimate authentication credentials, which can be obtained by legitimate use or phishing.

Generated by OpenCVE AI on August 19, 2026 at 17:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MyBooks/Talebook to version 3.42.0 or later, where the POST handler checks the administrator flag.
  • Remove or deactivate any unactivated user accounts to prevent unauthorized authentication via process_auth_header.
  • Restrict access to the /api/admin/settings endpoint, for example by firewall or network ACL, so that only trusted administrative hosts can reach it.

Generated by OpenCVE AI on August 19, 2026 at 17:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description MyBooks is an ebook management web server also known as Talebook. In 3.41.2 and earlier, the AdminSettings.post handler for POST /api/admin/settings in webserver/handlers/admin.py applies the auth decorator but does not check the self.admin_user property, unlike the corresponding GET handler. Any authenticated regular user can therefore overwrite server configuration values including SMTP credentials, OAuth client secrets, storage paths, security feature flags, and autoreload settings. The process_auth_header function in webserver/handlers/base.py also fails to verify the matched account's active flag, allowing a registered but unactivated account to authenticate and reach the vulnerable handler. Exploitation can disclose secrets through configuration access paths, sabotage application behavior, force service restarts, and supply the settings needed for related code-injection attacks. This issue is fixed in version 3.42.0.
Title MyBooks: Privilege Escalation via Missing Authorization on Admin Settings Endpoint
Weaknesses CWE-862
References
Metrics 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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T18:32:37.270Z

Reserved: 2026-05-11T18:41:13.156Z

Link: CVE-2026-45273

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T15:17:04.313

Modified: 2026-08-19T15:17:04.313

Link: CVE-2026-45273

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T17:45:03Z

Weaknesses