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-25153

CVE-2026-25153: Backstage TechDocs RCE Vulnerability

CVE-2026-25153 is a remote code execution vulnerability in Backstage TechDocs that allows attackers to execute arbitrary Python code via malicious MkDocs hooks. This article covers technical details, affected versions, and mitigations.

Published: February 6, 2026

CVE-2026-25153 Overview

CVE-2026-25153 is a Code Injection vulnerability affecting the @backstage/plugin-techdocs-node package in the Backstage open-source developer portal framework. When TechDocs is configured with runIn: local, a malicious actor who can submit or modify a repository's mkdocs.yml file can execute arbitrary Python code on the TechDocs build server via MkDocs hooks configuration. This vulnerability allows attackers with repository write access to achieve remote code execution on the build infrastructure.

Critical Impact

Attackers with the ability to modify mkdocs.yml files can execute arbitrary Python code on TechDocs build servers, potentially leading to complete server compromise, data exfiltration, and lateral movement within the infrastructure.

Affected Products

  • @backstage/plugin-techdocs-node versions prior to 1.13.11
  • @backstage/plugin-techdocs-node versions 1.14.x prior to 1.14.1
  • @techdocs/cli using vulnerable @backstage/plugin-techdocs-node dependencies

Discovery Timeline

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

Technical Details for CVE-2026-25153

Vulnerability Analysis

This vulnerability stems from the insecure processing of MkDocs configuration files within the TechDocs plugin. MkDocs, starting from version 1.4.0, introduced support for hooks—custom Python scripts that can be executed during the documentation build process. When TechDocs is configured with runIn: local, the build process runs directly on the host system without containerization, allowing any Python code specified in the hooks configuration to execute with the privileges of the TechDocs service.

The attack surface is particularly concerning in organizations where multiple developers or external contributors can submit changes to documentation repositories. An attacker only needs to insert a malicious hooks entry into an mkdocs.yml file to gain code execution on the build server.

Root Cause

The root cause is classified as CWE-94 (Improper Control of Generation of Code). The vulnerable versions of @backstage/plugin-techdocs-node did not validate or sanitize the contents of mkdocs.yml configuration files before passing them to the MkDocs generator. Specifically, the MkDocs hooks configuration key allows arbitrary Python scripts to be specified and executed during the build process. Without an allowlist of permitted configuration keys, attackers could inject the hooks directive to execute malicious code.

Attack Vector

The attack is network-accessible but requires low-level privileges—specifically, the ability to modify files in a repository that TechDocs processes. The attack complexity is considered high as it requires specific environmental conditions: TechDocs must be configured with runIn: local, and the attacker must have the capability to modify mkdocs.yml files in processed repositories.

An attacker exploiting this vulnerability would craft a malicious mkdocs.yml file containing a hooks configuration pointing to a Python script that executes arbitrary commands. When TechDocs processes the documentation, MkDocs loads and executes the hook script, granting the attacker code execution on the build server. The scope is changed, meaning the vulnerability can affect resources beyond the vulnerable component's security scope—potentially compromising the underlying build infrastructure and any secrets or credentials accessible to the TechDocs service.

Detection Methods for CVE-2026-25153

Indicators of Compromise

  • Unexpected hooks entries appearing in mkdocs.yml files within monitored repositories
  • Unusual Python script files in documentation directories that are referenced by hooks configurations
  • Anomalous process execution on TechDocs build servers, particularly Python processes spawning shell commands
  • Network connections from TechDocs build servers to unexpected external destinations

Detection Strategies

  • Implement file integrity monitoring for mkdocs.yml files across all repositories processed by TechDocs
  • Configure code review automation to flag any pull requests that add or modify hooks configurations in MkDocs files
  • Deploy endpoint detection and response (EDR) solutions on TechDocs build servers to monitor for suspicious process chains
  • Enable comprehensive logging for the TechDocs build process to capture all configuration changes and build activities

Monitoring Recommendations

  • Set up alerts for any modifications to mkdocs.yml files that introduce the hooks keyword
  • Monitor TechDocs build server logs for warnings about removed configuration keys (introduced in the patched versions)
  • Establish baseline behavior for TechDocs build processes and alert on deviations such as unexpected network activity or file system access
  • Review access logs for repositories to identify unauthorized modifications to documentation configuration files

How to Mitigate CVE-2026-25153

Immediate Actions Required

  • Upgrade @backstage/plugin-techdocs-node to version 1.13.11 or 1.14.1 or later immediately
  • Upgrade @techdocs/cli to the latest version that includes the fixed @backstage/plugin-techdocs-node dependency
  • Audit all mkdocs.yml files in repositories processed by TechDocs for any existing hooks configurations
  • Review recent changes to documentation repositories for any suspicious modifications to MkDocs configuration files

Patch Information

The vulnerability has been addressed in @backstage/plugin-techdocs-node versions 1.13.11 and 1.14.1. The fix introduces an allowlist of supported MkDocs configuration keys. Unsupported configuration keys, including hooks, are now automatically removed from mkdocs.yml before running the generator, with a warning logged to indicate which keys were removed.

For detailed patch information and security advisory, refer to the GitHub Security Advisory GHSA-6jr7-99pf-8vgf.

Workarounds

  • Configure TechDocs with runIn: docker instead of runIn: local to provide container isolation; note this does not fully mitigate the risk but adds a layer of defense
  • Restrict repository permissions to limit who can modify mkdocs.yml files—only allow trusted contributors
  • Implement mandatory PR review requirements for changes to mkdocs.yml files to detect malicious hooks configurations before merging
  • Downgrade MkDocs to a version prior to 1.4.0 (e.g., 1.3.1) which does not support hooks, though this may limit access to newer MkDocs features
bash
# Configuration example for switching to Docker-based TechDocs builds
# In your Backstage app-config.yaml:
techdocs:
  generator:
    runIn: docker  # Change from 'local' to 'docker' for container isolation

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBackstage

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-29186: Backstage Plugin-techdocs-node RCE Flaw

  • CVE-2026-32235: Backstage OIDC Auth Bypass Vulnerability

  • CVE-2026-32236: Backstage Auth Backend SSRF Vulnerability

  • CVE-2026-32237: Backstage Information Disclosure Bug
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