Azure HDInsight Ambari Elevation of Privilege Vulnerability (CVE-2026-81349)
A command injection flaw in the HDFS REBALANCEHDFS custom command in Azure HDInsight Ambari let an attacker holding the Service Operator role run arbitrary system commands as the hdfs user on the NameNode. This allowed an authorised attacker to elevate privileges over a network.
Originally disclosed on Microsoft
Description
Improper neutralization of special elements used in an os command ('os command injection') in Azure HDInsights allows an authorized attacker to elevate privileges over a network.
FAQ
What privileges an attacker could gain with a successful exploitation? An attacker with the Service Operator role in Azure HDInsight Ambari can exploit a command injection flaw in the HDFS REBALANCEHDFS custom command to execute arbitrary system commands as the hdfs user on the NameNode.
FAQ
What action should customers take to address this vulnerability? Customers should recreate affected Azure HDInsight clusters so they are provisioned with the updated image. The fix is included in the June 29, 2026 Azure HDInsight release , image 2606012120 , and later images. For instructions, see Set up clusters in HDInsight with Hadoop, Spark, and Kafka .
Azure HDInsights
Azure HDInsights
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the HDFS REBALANCEHDFS custom command passed user-controlled input into an operating system command without neutralising special characters.
Impact
An attacker with the Service Operator role could execute arbitrary system commands as the hdfs user on the NameNode, gaining privileges beyond their assigned role.
What the attacker needed
Service Operator role in HDInsight Ambari; network access to the cluster
The fix
The flaw was fixed in the June 29, 2026 Azure HDInsight release (image 2606012120 and later), and customers should recreate affected clusters so they are provisioned with the updated image.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Azure HDInsight is a Microsoft service for running big data tools in the cloud, and Ambari is the management interface for it. A command injection bug means the software passes user-supplied text into a system command without cleaning it, so extra commands can be slipped in and run. Here someone with a limited management role could use that to run their own commands with the higher permissions of the hdfs service account.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.