CVE-2026-29186
7.7Backstage · Backstage
Backstage versions prior to 1.14.3 contain a configuration bypass vulnerability in the TechDocs plugin that allows attackers to achieve arbitrary Python code execution.
Executive summary
A configuration bypass vulnerability in the Backstage TechDocs plugin allows authenticated attackers to execute arbitrary code, posing a severe risk to developer portal infrastructure.
Vulnerability
This is an injection and configuration bypass vulnerability occurring within the @backstage/plugin-techdocs-node package. An attacker with low privileges can craft a malicious mkdocs.yml file to bypass allowlist security controls, resulting in arbitrary Python code execution during the documentation build process.
Business impact
The ability to execute arbitrary code on the underlying server environment provides an attacker with significant control over the developer portal. Given the CVSS score of 7.7, this represents a high-severity threat that could lead to unauthorized data access, lateral movement within the development environment, and total compromise of the affected Backstage instance.
Remediation
Immediate Action: Update the Backstage instance to version 1.14.3 or later to ensure the TechDocs plugin properly filters configuration keys.
Proactive Monitoring: Review build logs for the TechDocs plugin for any signs of malformed mkdocs.yml files or unexpected execution of Python scripts during the documentation generation phase.
Compensating Controls: Implement strict access controls for users authorized to modify documentation configurations and utilize a Web Application Firewall (WAF) to inspect incoming requests for suspicious configuration payloads.
Exploitation status
Public Exploit Available: unknown
Analyst recommendation
This vulnerability presents a clear path to code execution within the Backstage environment. Organizations should prioritize the update to version 1.14.3 immediately, as the potential for unauthorized code execution could lead to a full breach of the developer portal and its integrated services.