CVE-2026-53759

linuxfabrik-lib: Insecure creation of SQLite databases

Published Aug 18, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations. Prior to version 4.2.0, db_sqlite.py created SQLite databases at predictable paths in the shared /tmp directory and followed attacker-created symbolic links at those paths. An attacker who controls a local monitoring account can create a symlink such as /tmp/linuxfabrik-monitoring-plugins-docker-stats.db and then trigger a sudo-authorized plugin, causing the root process to create or modify the symlink target. The primitive can overwrite arbitrary paths, cause denial of service, or manipulate an existing SQLite database through a crafted rollback journal or write-ahead log. The Monitoring Plugins integration also moved plugin caches through lib.db_sqlite.get_db_path() so they use the secured per-user directory. This issue is fixed in version 4.2.0.

Analysis

AI-generated

Technical impact

The vulnerability originates in linuxfabrik-lib’s SQLite database helper, which creates databases at predictable paths in the shared /tmp directory, following any symbolic links placed there. An attacker controlling a local monitoring account can create a symbolic link such as /tmp/linuxfabrik-monitoring-plugins-docker-stats.db, then trigger a plugin that runs with sudo privileges. The root process will then create or modify the symlink target, potentially overwriting arbitrary files, causing denial of service, or tampering with SQLite databases via a crafted rollback journal or write‑ahead log. The issue was fixed by moving plugin caches to per‑user secure directories in library version 4.2.0.

Affected Systems

Linuxfabrik’s monitoring‑plugins package is affected in all releases prior to version 4.2.0. Users running older versions of the library that provide SQLite database access are at risk.

Risk and Exploitability

The CVSS score of 2 reflects a low severity assessment under current scoring. EPSS data is unavailable, so the exhibit does not indicate a high likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires local access to a monitoring account and the ability to execute plugins with sudo permissions. The attacker can manipulate file ownership and content at root level by leveraging the predictable database paths and the symlink following behavior.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Linuxfabrik monitoring‑plugins to version 4.2.0 or newer, which removes the insecure database path handling.
  • Confirm that lib.db_sqlite.get_db_path() resolves to a per‑user secure directory and not the temporary /tmp location.
  • Eliminate or restrict user‑created symlinks in /tmp that could be targeted by local users before plugin execution.
  • Re‑review plugin configuration to limit the privileges under which monitoring plugins run, ensuring they do not have unnecessary sudo access.

Generated by OpenCVE AI on August 21, 2026 at 16:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r35r-fpx2-jgr4 Linuxfabrik Monitoring Plugins allow insecure creation of SQLite databases
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Linuxfabrik
Linuxfabrik monitoring-plugins
Vendors & Products Linuxfabrik
Linuxfabrik monitoring-plugins
Type Values Removed Values Added
Description linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations. Prior to version 4.2.0, db_sqlite.py created SQLite databases at predictable paths in the shared /tmp directory and followed attacker-created symbolic links at those paths. An attacker who controls a local monitoring account can create a symlink such as /tmp/linuxfabrik-monitoring-plugins-docker-stats.db and then trigger a sudo-authorized plugin, causing the root process to create or modify the symlink target. The primitive can overwrite arbitrary paths, cause denial of service, or manipulate an existing SQLite database through a crafted rollback journal or write-ahead log. The Monitoring Plugins integration also moved plugin caches through lib.db_sqlite.get_db_path() so they use the secured per-user directory. This issue is fixed in version 4.2.0.
Title linuxfabrik-lib: Insecure creation of SQLite databases
Weaknesses CWE-377
References
Metrics cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 21, 2026, 7:14 PM
Reserved
Jun 10, 2026, 5:48 PM
Status
Deferred
Published
Aug 18, 2026, 9:16 PM
Modified
Oct 22, 2026, 9:09 PM