<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Aa-Exec - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/aa-exec/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 24 Jul 2026 15:28:33 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/aa-exec/feed.xml" rel="self" type="application/rss+xml"/><item><title>Linux AppArmor Bypass via aa-exec (CVE-2026-46331)</title><link>https://feed.craftedsignal.io/briefs/2026-07-apparmor-bypass/</link><pubDate>Fri, 24 Jul 2026 15:28:33 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-apparmor-bypass/</guid><description>Adversaries can exploit CVE-2026-46331 to bypass AppArmor and unprivileged user namespace restrictions on Linux systems by abusing the `aa-exec` utility with `trinity`, `chrome`, or `flatpak` AppArmor profiles, leading to privilege escalation when the `aa-exec` binary itself is executed from a non-standard path.</description><content:encoded><![CDATA[<p>CVE-2026-46331 describes a privilege escalation vulnerability on Linux systems, specifically targeting the <code>aa-exec</code> utility when combined with certain AppArmor profiles like <code>trinity</code>, <code>chrome</code>, or <code>flatpak</code>. This vulnerability allows attackers to bypass Ubuntu's unprivileged user namespace restrictions by tricking <code>aa-exec</code> into granting namespace-creation capabilities to an arbitrary binary, rather than the legitimate application the profile was intended to confine. Defenders should be aware that adversaries may exploit this to gain elevated privileges, enabling further compromise of the system. Detection focuses on instances where <code>aa-exec</code> is invoked with specific profile arguments (<code>-p</code>, <code>--</code>) and when the <code>aa-exec</code> binary itself is executed from unexpected or non-standard directory paths, signaling an attempt to exploit this bypass. This technique can lead to full system compromise if successful.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial user-level access to a vulnerable Linux system.</li>
<li>The attacker identifies a <code>aa-exec</code> configuration on the system that utilizes <code>userns</code>-carrying AppArmor profiles, such as <code>trinity</code>, <code>chrome</code>, or <code>flatpak</code>.</li>
<li>The attacker crafts a malicious command that invokes <code>aa-exec</code> with arguments specifying one of the vulnerable AppArmor profiles (e.g., <code>-p flatpak</code>).</li>
<li>The crafted command includes the <code>--</code> separator, followed by a path to an arbitrary, attacker-controlled binary (e.g., a shell or a privilege escalation tool).</li>
<li>To evade detection, the attacker ensures the <code>aa-exec</code> binary itself is executed from a non-standard or unusual directory path, outside of common system locations or application bundles.</li>
<li>Upon execution, the vulnerable <code>aa-exec</code> utility is tricked into granting namespace-creation capabilities to the attacker's arbitrary binary.</li>
<li>The arbitrary binary executes with elevated privileges, bypassing AppArmor and unprivileged user namespace restrictions, achieving privilege escalation on the system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-46331 grants attackers privilege escalation on affected Linux systems, particularly Ubuntu. This can lead to a full system compromise, allowing attackers to execute arbitrary code with root privileges. The impact includes unauthorized access to sensitive data, installation of persistent backdoors, modification of system configurations, or deployment of additional malicious payloads such as ransomware or cryptocurrency miners. Organizations using vulnerable Linux distributions could face significant operational disruption and data loss.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-46331 on all affected Ubuntu systems immediately to prevent privilege escalation.</li>
<li>Deploy the <code>Detects CVE-2026-46331 Exploitation - Linux AppArmor Bypass via aa-exec</code> Sigma rule to your SIEM for early detection of exploitation attempts.</li>
<li>Enable Sysmon for Linux EventID 1 to ensure process creation events are collected, which is essential for activating the detection rule.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>linux</category><category>privilege-escalation</category><category>apparmor</category><category>cve</category><category>endpoint</category></item></channel></rss>