Escalated Privileges Vulnerability in Monit Package

monit Updated 02 Oct 2025

Summary

18/07/2023
N/A
No i
High
8.8

CVE-2022-26563: An issue was discovered in Tildeslash Monit before 5.31.0, allows remote attackers to gain escilated privlidges due to improper PAM-authorization. Affects monit versions < 6ecaab1d375f33165fe98d06d92f36c949c0ea11. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Monit is an open-source utility for managing and monitoring processes, files, directories, and filesystems on a Unix system. It provides a simple way to ensure that services are running and can automatically restart them if they fail. The package is widely used for its reliability and ease of use. However, prior to version 5.31.0, Monit is vulnerable to a security issue that allows remote attackers to gain escalated privileges due to improper PAM (Pluggable Authentication Module) authorization.

Vulnerability Detail

The vulnerability, identified as CVE-2022-26563, stems from improper handling of PAM authorization in Monit versions before 5.31.0. This flaw can be exploited by remote attackers to gain elevated privileges, potentially allowing them to execute arbitrary commands or access sensitive information. The CVSS score for this vulnerability is 8.8, indicating a high severity level. Attackers can leverage this vulnerability to compromise the integrity and confidentiality of the system, making it critical for users to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If an immediate upgrade is not feasible, consider implementing strict firewall rules to limit access to the Monit service, ensuring that only trusted IP addresses can connect. Additionally, review PAM configurations to mitigate potential exploitation until the upgrade can be performed.

Conclusion

The CVE-2022-26563 vulnerability in the Monit package poses a significant risk due to improper PAM authorization, allowing remote attackers to gain escalated privileges. Users are strongly advised to upgrade to version 5.32.0 or later to mitigate this risk. In the meantime, implementing workarounds can help reduce exposure.

See every vulnerability recorded for monit →

Share this vulnerability

FAQ

CVE-2022-26563 is a vulnerability in the Monit package that allows remote attackers to gain escalated privileges due to improper PAM authorization.

You can check your version of Monit by running 'monit -V' in the terminal. If it is below 5.32.0, it is vulnerable.

The vulnerability can allow attackers to execute arbitrary commands and access sensitive information, compromising system integrity and confidentiality.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities using just a manifest file like package-lock.json. You can check if your application is affected using the Vulert playground.

Implement strict firewall rules to limit access to the Monit service and review PAM configurations to mitigate potential exploitation until an upgrade can be performed.

Related vulnerabilities

Recent vulnerabilities recorded for monit.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback