Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-25152

CVE-2026-25152: Backstage TechDocs Path Traversal Flaw

CVE-2026-25152 is a path traversal vulnerability in Backstage TechDocs plugin that enables attackers to read arbitrary files from the host filesystem. This article covers technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2026-25152 Overview

CVE-2026-25152 is a path traversal vulnerability affecting the @backstage/plugin-techdocs-node package, which provides common Node.js functionalities for TechDocs in the Backstage developer portal framework. This vulnerability allows attackers to read arbitrary files from the host filesystem when Backstage is configured with the local generator option (techdocs.generator.runIn: local).

When processing documentation from untrusted sources, symlinks within the docs directory are followed by MkDocs during the build process. The file contents are then embedded into generated HTML and exposed to users who can view the documentation, resulting in potential exposure of sensitive configuration files, credentials, and other confidential data.

Critical Impact

Attackers can leverage symlink following during documentation builds to extract sensitive files from the host system, potentially exposing credentials, configuration files, and proprietary source code to unauthorized users.

Affected Products

  • @backstage/plugin-techdocs-node versions prior to 1.13.11
  • @backstage/plugin-techdocs-node versions prior to 1.14.1
  • Backstage installations configured with techdocs.generator.runIn: local

Discovery Timeline

  • 2026-01-30 - CVE CVE-2026-25152 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2026-25152

Vulnerability Analysis

This path traversal vulnerability (CWE-22) exploits the symlink following behavior of MkDocs during the TechDocs documentation build process. When Backstage is configured to run the TechDocs generator locally (as opposed to within a Docker container), the build process does not properly validate or restrict symlink targets within documentation source directories.

An attacker with write access to a TechDocs source repository can create symbolic links pointing to sensitive files outside the intended documentation directory. When MkDocs processes these symlinks during the build, it reads the target files and embeds their contents into the generated HTML documentation. Any user with access to view the resulting documentation can then access the exposed file contents.

The vulnerability requires the attacker to have write access to documentation source repositories and for the target Backstage instance to be using the local generator configuration. While this combination of requirements limits the attack surface, environments that allow documentation contributions from untrusted sources are at significant risk.

Root Cause

The root cause is insufficient validation of file paths during the TechDocs build process when running in local mode. The MkDocs documentation generator follows symbolic links without restriction, and the TechDocs plugin does not implement safeguards to prevent symlinks from targeting files outside the documentation directory tree. This allows attackers to bypass intended directory boundaries and access arbitrary files readable by the Backstage process.

Attack Vector

The attack vector is network-based, requiring an attacker to have the ability to commit or modify files in a TechDocs source repository. The attack flow involves:

  1. Attacker creates a symbolic link within the docs directory pointing to a sensitive file (e.g., /etc/passwd, application configuration files, or secrets)
  2. The symlink is committed to a repository configured as a TechDocs source
  3. When TechDocs builds the documentation using the local generator, MkDocs follows the symlink
  4. The contents of the target file are embedded in the generated HTML
  5. Any user viewing the documentation can access the leaked file contents

The exploitation does not require user interaction beyond viewing the documentation, though initial access to modify documentation sources is required. Due to the prerequisite of repository write access and specific configuration requirements, exploitation complexity is elevated.

Detection Methods for CVE-2026-25152

Indicators of Compromise

  • Presence of symbolic links in TechDocs source repositories pointing outside the docs directory
  • Documentation build logs showing access to sensitive system files or paths outside the repository
  • Generated documentation containing embedded content from system files such as /etc/passwd, configuration files, or credential stores
  • Unexpected file access patterns in Backstage server logs during documentation builds

Detection Strategies

  • Implement pre-build scanning of documentation repositories to detect symbolic links pointing outside the repository root
  • Monitor file system access patterns during TechDocs builds for access to sensitive directories
  • Review Backstage audit logs for documentation builds that access unexpected file paths
  • Deploy file integrity monitoring on sensitive configuration files that may be targeted

Monitoring Recommendations

  • Enable verbose logging for the TechDocs build process to capture file access patterns
  • Configure alerts for documentation builds accessing paths outside the expected repository structure
  • Implement repository scanning in CI/CD pipelines to detect suspicious symlinks before they reach production
  • Monitor for unusual documentation viewing patterns that may indicate reconnaissance or data exfiltration

How to Mitigate CVE-2026-25152

Immediate Actions Required

  • Upgrade @backstage/plugin-techdocs-node to version 1.13.11 or 1.14.1 immediately
  • Switch TechDocs configuration from runIn: local to runIn: docker to isolate the build environment
  • Audit existing TechDocs source repositories for suspicious symbolic links
  • Restrict write access to TechDocs source repositories to trusted users only

Patch Information

The vulnerability is fixed in @backstage/plugin-techdocs-node versions 1.13.11 and 1.14.1. Organizations should update to one of these versions based on their current release track. For additional details, refer to the GitHub Security Advisory.

Workarounds

  • Switch to runIn: docker in app-config.yaml to run TechDocs builds in an isolated Docker container, preventing access to the host filesystem
  • Restrict write access to TechDocs source repositories to trusted users only, reducing the attack surface
  • Implement repository-level hooks to scan for and reject symlinks in documentation directories
  • Consider running Backstage with reduced filesystem permissions to limit the impact of potential exploitation
yaml
# Recommended app-config.yaml configuration to mitigate the vulnerability
techdocs:
  generator:
    runIn: docker  # Changed from 'local' to isolate builds
  builder: 'local'
  publisher:
    type: 'local'

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechBackstage

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-29185: Backstage Path Traversal Vulnerability

  • CVE-2026-24047: Backstage Path Traversal Vulnerability

  • CVE-2026-24046: Backstage Path Traversal Vulnerability

  • CVE-2026-32235: Backstage OIDC Auth Bypass 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