The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28372

CVE-2026-28372: GNU Inetutils Privilege Escalation Flaw

CVE-2026-28372 is a privilege escalation vulnerability in GNU Inetutils telnetd that exploits systemd service credentials. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 6, 2026

CVE-2026-28372 Overview

CVE-2026-28372 is a privilege escalation vulnerability affecting telnetd in GNU inetutils through version 2.7. The vulnerability can be exploited by abusing systemd service credentials support that was introduced in the login(1) implementation of util-linux release 2.40. Specifically, the flaw relates to client control over the CREDENTIALS_DIRECTORY environment variable, requiring an unprivileged local user to create a login.noauth file to exploit the vulnerability.

This vulnerability represents a significant security risk for Linux systems running affected versions of GNU inetutils in combination with util-linux 2.40 or later, as it allows local users to escalate their privileges beyond their intended authorization level.

Critical Impact

Local privilege escalation allowing unprivileged users to gain elevated system access by manipulating systemd service credentials through the telnetd service.

Affected Products

  • GNU inetutils through version 2.7
  • Systems running util-linux 2.40 or later with systemd service credentials support
  • Linux distributions with telnetd enabled and affected component versions

Discovery Timeline

  • 2026-02-27 - CVE-2026-28372 published to NVD
  • 2026-03-02 - Last updated in NVD database

Technical Details for CVE-2026-28372

Vulnerability Analysis

This vulnerability falls into the category of Privilege Escalation, specifically exploiting the interaction between GNU inetutils' telnetd daemon and the systemd service credentials mechanism introduced in util-linux 2.40. The root cause stems from improper handling of environment variables that are trusted by the login process.

When a user connects via telnet, the telnetd service spawns a login process. In util-linux 2.40 and later, the login(1) command gained support for systemd service credentials, which relies on the CREDENTIALS_DIRECTORY environment variable to locate credential files. The vulnerability arises because telnetd does not properly sanitize or restrict client-controlled environment variables before passing them to the login subprocess.

An attacker with local system access can create a login.noauth file in a directory they control, then manipulate the CREDENTIALS_DIRECTORY environment variable during a telnet session to point to their malicious directory. When the login process reads this credential file, it may bypass normal authentication mechanisms, effectively granting the attacker elevated privileges.

Root Cause

The fundamental issue is CWE-829 (Inclusion of Functionality from Untrusted Control Sphere). The telnetd service fails to adequately sanitize environment variables passed from client connections before they are inherited by child processes. When combined with util-linux 2.40's new systemd credentials feature in login(1), this allows unprivileged users to influence the authentication behavior through attacker-controlled credential directories.

The vulnerability specifically requires:

  1. GNU inetutils telnetd through version 2.7
  2. util-linux 2.40 or later with systemd service credentials support
  3. Local access to create files on the target system
  4. Ability to establish a telnet connection (typically via localhost)

Attack Vector

The attack is executed locally, requiring the attacker to have an unprivileged account on the target system. The exploitation flow involves creating a malicious login.noauth credential file in a user-controlled directory, then initiating a telnet connection with a manipulated CREDENTIALS_DIRECTORY environment variable pointing to that directory. When telnetd spawns the login process, the unsanitized environment variable causes login to read the attacker's credential file, potentially bypassing authentication controls.

The attack does not require user interaction once the malicious files are in place, and successful exploitation can lead to complete compromise of confidentiality, integrity, and availability of the affected system.

Detection Methods for CVE-2026-28372

Indicators of Compromise

  • Presence of unexpected login.noauth files in user-writable directories
  • Unusual telnet connections originating from localhost or internal network segments
  • Login processes spawned with non-standard CREDENTIALS_DIRECTORY environment variable values
  • Suspicious privilege escalation events following telnet sessions

Detection Strategies

  • Monitor for file creation events matching the pattern login.noauth in non-standard directories
  • Implement process monitoring to detect telnetd child processes with manipulated environment variables
  • Configure auditd rules to track modifications to credential-related files and directories
  • Enable logging for all telnet connection attempts, especially from local interfaces

Monitoring Recommendations

  • Deploy file integrity monitoring (FIM) on critical system directories and credential storage locations
  • Implement centralized logging for authentication events and correlate with telnet session activity
  • Use endpoint detection and response (EDR) solutions to monitor for privilege escalation patterns
  • Regularly audit running services for vulnerable GNU inetutils versions

How to Mitigate CVE-2026-28372

Immediate Actions Required

  • Disable telnetd service if not required for business operations
  • Restrict telnet access to trusted networks and users via firewall rules
  • Update GNU inetutils to a patched version when available from your distribution
  • Consider replacing telnet with SSH for secure remote access

Patch Information

A fix has been committed to the Debian inetutils package repository. The patch can be reviewed at the Debian Inetutils Commit. Organizations should apply distribution-specific security updates as they become available. Additional technical discussion is available through the GNU Bug Report and OpenWall OSS Security Discussion.

Workarounds

  • Disable the telnetd service entirely using systemctl disable telnetd or equivalent for your init system
  • Configure PAM or other authentication mechanisms to ignore systemd credential files from non-standard locations
  • Implement network segmentation to restrict telnet access to management networks only
  • Use application-level controls to sanitize environment variables passed to child processes
bash
# Configuration example
# Disable telnetd service on systemd-based systems
sudo systemctl stop telnetd
sudo systemctl disable telnetd

# Block telnet port at the firewall level
sudo iptables -A INPUT -p tcp --dport 23 -j DROP

# Verify telnetd is not running
sudo ss -tlnp | grep :23

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechGnu Inetutils

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-829
  • Technical References
  • GNU Bug Report

  • GNU Bug Update

  • OpenWall OSS Security Discussion

  • OpenWall OSS Security Follow-up
  • Vendor Resources
  • Debian Inetutils Commit
  • Related CVEs
  • CVE-2026-32746: GNU inetutils Buffer Overflow Vulnerability

  • CVE-2026-32772: GNU inetutils Information Disclosure Flaw

  • CVE-2026-24061: GNU Inetutils Authentication Bypass Flaw

  • CVE-2022-39028: GNU Inetutils telnetd DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English