Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-54161 — upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution | Kitploit
Tools/GitHubGitHub/ja-errorpro/cve-2026-54161
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlPayload Development
GitHubja-errorpro/cve-2026-54161

CVE-2026-54161

upsmon: remote OS command injection (RCE) via attacker-controlled ups.alarm in NOTIFYCMD execution

View Repository
1294 months agoNot yet reviewed
Share

CVE-2026-54161 PoC

Summary

upsmon interpolates the server-supplied, attacker-controllable ups.alarm value, unsanitized, into a shell command that it runs via system(). When a monitored device reports an ALARM state and the operator has configured NOTIFYCMD with EXEC on the ALARM event, an ups.alarm value containing shell command-substitution ($(...) / backticks on POSIX, or a "&…&" quote break-out on Windows cmd.exe) results in arbitrary OS command execution as the upsmon user — commonly root, because upsmon runs as root to manage system shutdown.

Affected component / versions

  • Component: clients/upsmon.c (notify(), and the WIN32 twins async_notify() and wall()), driven by the stock NOTIFY_ALARM message in clients/upsmon.h.
  • Affected: NUT 2.8.3, 2.8.4, 2.8.5, and current git master. Not affected: ≤ 2.8.2. Confirmed by diffing tags v2.8.2 vs v2.8.3: the ups.alarm → NOTIFY_ALARM handling (ups_is_alarm(), do_notify(…, NOTIFY_ALARM, …), the ups.alarm GET) was introduced in 2.8.3 (via issue #2657 / PR #2658). Verified vulnerable on the shipped packages nut-client 2.8.5 (Fedora 42/43), 2.8.4 (Fedora 41 / Debian sid / ubuntu:rolling), 2.8.3 (Ubuntu 25.10); not triggered on 2.8.1 (Debian trixie/stable, Ubuntu 24.04 LTS).

Please refer to GHSA-mjgp-j4gm-6qg5 to read the full report.

Demo

https://github.com/user-attachments/assets/a3e76a3f-9be4-4a72-b5e7-3ae9bdcf3de7

References

  • https://github.com/networkupstools/nut/security/advisories/GHSA-mjgp-j4gm-6qg5
  • https://github.com/networkupstools/nut/pull/3499
  • https://nvd.nist.gov/vuln/detail/CVE-2026-54161
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →