linuxfabrik-lib: Insecure creation of SQLite databases
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linuxfabrik | monitoring-plugins | before 4.2.0 | 4.2.0 | Patch available | CNA |
| — | linuxfabrik-lib (PyPI) | before 4.2.0 | 4.2.0 | Patch available | GHSA-r35r-fpx2-jgr4 |
- monitoring-plugins VendorLinuxfabrik Affected before 4.2.0 Fixed in 4.2.0 Patch available CNA
- linuxfabrik-lib (PyPI) Vendor— Affected before 4.2.0 Fixed in 4.2.0 Patch available GHSA-r35r-fpx2-jgr4
Remediation
- Fix · CNA monitoring-plugins (Linuxfabrik) Fixed in 4.2.0
- Fix · GHSA-r35r-fpx2-jgr4 linuxfabrik-lib (PyPI) Fixed in 4.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-53759
- 2026-10-03 Alias added: GHSA-r35r-fpx2-jgr4
References
Other 5
- https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-r35r-fpx2-jgr4
- https://github.com/Linuxfabrik/lib/commit/1e3ca61d45e37ef118aa0c107b420ef74458697e
- https://github.com/Linuxfabrik/lib/blob/main/CHANGELOG.md#v420---2026-06-02
- https://github.com/Linuxfabrik/lib/releases/tag/v4.2.0
- https://github.com/Linuxfabrik/monitoring-plugins
More Linuxfabrik vulnerabilities
- TI-2026-39994 linuxfabrik-lib: Local privilege escalation using embedded command CVSS 3.1HIGH 7.8
- TI-2026-37926 Linuxfabrik Monitoring Plugins Sudoers: /usr/bin/apt-get arguments allow privilege escalation CVSS 4.0HIGH 7.0
- TI-2026-51979 linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE) CVSS 3.1MEDIUM 5.5
- TI-2026-51978 Linuxfabrik Monitoring Plugins: Arbitrary root file disclosure via unconfined --filename in logfile plugin (sudoers LPE) CVSS 3.1MEDIUM 5.5
- TI-2026-47716 Linuxfabrik monitoring-plugins: SSRF and auth-token disclosure via unvalidated @odata.id link in redfish-* plugins CVSS 4.0HIGH 8.3
- TI-2026-47715 linuxfabrik-lib: fetch() forwards credential headers across a cross-origin redirect CVSS 4.0MEDIUM 6.0
Sources
- CVE-2026-53759 · CVE Program
- CVE-2026-53759 · NVD
- FIRST EPSS
- GHSA-r35r-fpx2-jgr4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences