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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-39958

CVE-2026-39958: oma Package Manager Injection Vulnerability

CVE-2026-39958 is a metadata injection flaw in oma package manager for AOSC OS that allows malicious APT source entries via malformed Topic Manifests. This post covers its technical details, affected versions, and fixes.

Published: April 9, 2026

CVE-2026-39958 Overview

CVE-2026-39958 is an improper input validation vulnerability in oma, the package manager for AOSC OS. Prior to version 1.25.2, the oma-topics component is responsible for fetching metadata for testing repositories (topics) named "Topic Manifests" from remote repository servers at {mirror}/debs/manifest/topics.json, registering them as APT source entries. However, the name field in said metadata was not checked for transliteration or control characters. A malicious party could supply a malformed Topic Manifest containing control characters, which may cause malicious APT source entries to be added to /etc/apt/sources.list.d/atm.list as oma-topics finishes fetching and registering metadata.

Critical Impact

A successful exploitation could allow an attacker to inject arbitrary APT repository sources into the system configuration, potentially leading to the installation of malicious packages and full system compromise through supply chain attacks.

Affected Products

  • oma (AOSC OS Package Manager) versions prior to 1.25.2
  • AOSC OS systems using affected oma-topics functionality
  • Systems with topics repository configuration enabled

Discovery Timeline

  • 2026-04-09 - CVE-2026-39958 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-39958

Vulnerability Analysis

This vulnerability is classified as CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection'). The root issue lies in the oma-topics component's failure to validate and sanitize topic names fetched from remote manifest files before writing them to APT source configuration files.

When oma-topics retrieves the topics.json manifest from a remote mirror, it processes the name field without checking for control characters such as carriage returns (\r), line feeds (\n), or other special characters. Since APT source list files are line-based configuration files, an attacker who controls a mirror or can perform a man-in-the-middle attack could craft a topic name containing newline characters followed by a malicious repository URL. This would result in an additional, attacker-controlled APT source being injected into /etc/apt/sources.list.d/atm.list.

Root Cause

The vulnerability stems from insufficient input validation in the topic name parsing logic. The name field from the JSON manifest was directly used without sanitization, allowing control characters to be embedded and subsequently written to configuration files. This is a classic CRLF injection scenario where user-controlled or remote-controlled data is used in a context where newline characters have special meaning.

Attack Vector

The attack requires network access and the ability to serve or modify Topic Manifest data. An attacker could exploit this vulnerability through:

  1. Compromised Mirror: If an attacker gains control of an AOSC OS mirror server, they can serve malicious topic manifests to all users fetching from that mirror.
  2. Man-in-the-Middle Attack: On networks where the attacker can intercept traffic, they could modify the topics.json response in transit.
  3. Malicious Mirror Registration: Convincing users to add a malicious mirror to their configuration.

The security patch adds validation to reject topic names containing control characters:

text
 failed-to-operate-path = Failed to perform file operations in { $p }.
 failed-to-get-parent-path = Failed to get parent path of { $p }.
 failed-to-read-file-metadata = Failed to read file metadata for { $p }.
+illegal-topic-entry = Topic entry contains illegal character(s): { $name }.
 failed-to-get-rg-process-info = Failed to get process status for `rg'.
 failed-to-calculate-available-space = Failed to calculate available storage space.
 failed-to-create-http-client = Failed to create an HTTP client.

Source: GitHub Commit Update

Detection Methods for CVE-2026-39958

Indicators of Compromise

  • Unexpected or unauthorized entries in /etc/apt/sources.list.d/atm.list
  • APT source entries pointing to unknown or suspicious repository URLs
  • Unusual package installation attempts from unrecognized repositories
  • Network connections to unknown mirror servers during package operations

Detection Strategies

  • Monitor changes to /etc/apt/sources.list.d/atm.list using file integrity monitoring tools
  • Audit APT source configurations for entries containing control characters or unexpected URLs
  • Review oma-topics logs for any unusual topic names or manifest processing errors
  • Implement network monitoring to detect connections to unauthorized package repositories

Monitoring Recommendations

  • Deploy file integrity monitoring (FIM) on APT source configuration directories
  • Set up alerts for any modifications to /etc/apt/sources.list.d/ files outside of authorized maintenance windows
  • Monitor DNS queries and network traffic for connections to unfamiliar package mirror domains
  • Implement centralized logging for package manager operations

How to Mitigate CVE-2026-39958

Immediate Actions Required

  • Update oma to version 1.25.2 or later immediately
  • Review /etc/apt/sources.list.d/atm.list for any suspicious or malformed entries
  • Verify the integrity of configured package mirrors
  • Consider temporarily disabling topics functionality if immediate patching is not possible

Patch Information

The vulnerability is fixed in oma version 1.25.2. The fix adds input validation to reject topic names containing control characters, preventing CRLF injection attacks. Users should update using their system's package manager or by obtaining the fixed version from the official release.

For additional details, see the GitHub Security Advisory GHSA-86jc-7r6q-cr3f and Pull Request #733.

Workarounds

  • Manually audit and remove any suspicious entries from /etc/apt/sources.list.d/atm.list
  • Disable the topics feature temporarily by avoiding use of oma topics commands until patched
  • Configure network-level controls to restrict package mirror access to trusted sources only
  • Use HTTPS-only mirrors where available to reduce man-in-the-middle attack risk
bash
# Verify current oma version
oma --version

# Check for suspicious entries in APT sources
cat /etc/apt/sources.list.d/atm.list | grep -P '[\\x00-\\x1F\\x7F]'

# Update oma to patched version
oma upgrade oma

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechOma

  • SeverityMEDIUM

  • CVSS Score5.2

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-93
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request #733

  • GitHub Release v1.25.2

  • GitHub Security Advisory GHSA-86jc-7r6q-cr3f
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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