CVE-2026-73973
JSON

5.5medium

Linuxfabrik Monitoring Plugins: Arbitrary root file disclosure via unconfined --filename in logfile plugin (sudoers LPE)

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 7.0.0, check-plugins/logfile/logfile accepted a free-form --filename path and opened it as root when invoked through the shipped nagios or icinga sudoers allowlist, without confining the resolved path to /var/log. An attacker who controls the monitoring account can select a root-readable file such as /etc/shadow and use --warning-regex . while leaving SUPPRESS_OUTPUT false, causing each nonempty line to be collected in warn_matches and returned through lib.base.oao(). The vulnerable flow passes the expanded scan_path directly to open(), and neither real-path containment nor an allowlist protects the sink. The same fix also confines mysql-logfile and openvpn-client-list paths, allows only documented log roots, and resolves symlinks and parent-directory traversal before checking containment. This issue is fixed in version 7.0.0.

Affected

Product or packageVersionsReported by
Linuxfabrik monitoring-plugins< 7.0.0CVE List

Classification

CWE-22CWE-269

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 7.0.0, check-plugins/logfile/logfile accepted a free-form --filename path and opened it as root when invoked through the shipped nagios or icinga sudoers allowlist, without confining the resolved path to /var/log. An attacker who controls the monitoring account can select a root-readable file such as /etc/shadow and use --warning-regex . while leaving SUPPRESS_OUTPUT false, causing each nonempty line to be collected in warn_matches and returned through lib.base.oao(). The vulnerable flow passes the expanded scan_path directly to open(), and neither real-path containment nor an allowlist protects the sink. The same fix also confines mysql-logfile and openvpn-client-list paths, allows only documented log roots, and resolves symlinks and parent-directory traversal before checking containment. This issue is fixed in version 7.0.0.

NVD (es)

Linuxfabrik Monitoring Plugins proporciona plugins de monitorización para Icinga, Nagios y sistemas relacionados. Antes de la versión 7.0.0, check-plugins/logfile/logfile aceptaba una ruta --filename de formato libre y la abría como root cuando se invocaba a través de la lista de permitidos (allowlist) de sudoers de nagios o icinga incluida, sin confinar la ruta resuelta a /var/log. Un atacante que controla la cuenta de monitorización puede seleccionar un archivo legible por root como /etc/sha4dow y usar --warning-regex . mientras deja SUPPRESS_OUTPUT en false, haciendo que cada línea no vacía se recoja en warn_matches y se devuelva a través de lib.base.oao(). El flujo vulnerable pasa la scan_path expandida directamente a open(), y ni la contención de ruta real ni una lista de permitidos (allowlist) protegen el sumidero. La misma corrección también confina las rutas de MySQL-logfile y openvpn-client-list, permite solo raíces de registro documentadas y resuelve enlaces simbólicos y salto de directorio padre antes de verificar la contención. Este problema está corregido en la versión 7.0.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-73973 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-73973 changed 2026-10-22Public domain