CVE-2026-33430: CWE-732: Incorrect Permission Assignment for Critical Resource in beeware briefcase
Briefcase is a tool for converting a Python project into a standalone native application. Starting in version 0.3.0 and prior to version 0.3.26, if a developer uses Briefcase to produce an Windows MSI installer for a project, and that project is installed for All Users (i.e., per-machine scope), the installation process creates an directory that inherits all the permissions of the parent directory. Depending on the location chosen by the installing user, this may allow a low privilege but authenticated user to replace or modify the binaries installed by the application. If an administrator then runs the altered binary, the binary will run with elevated privileges. The problem is caused by the template used to generate the WXS file for Windows projects. It was fixed in the templates used in Briefcase 0.3.26, 0.4.0, and 0.4.1. Re-running `briefcase create` on your Briefcase project will result in the updated templates being used. As a workaround, the patch can be added to any existing Briefcase .wxs file generated by Briefcase 0.3.24 or later.
AI Analysis
Technical Summary
The vulnerability CVE-2026-33430 affects the BeeWare Briefcase tool, which is used to convert Python projects into standalone native applications. Versions from 0.3.0 up to but not including 0.3.26 contain a critical flaw in the Windows MSI installer generation process. When a developer uses Briefcase to create an MSI installer for a project installed for all users (per-machine scope), the installation directory inherits permissions from its parent directory. This inheritance can result in overly permissive access rights, allowing low-privileged but authenticated users on the system to replace or modify the installed application binaries. Since the binaries run with elevated privileges when executed by an administrator, this modification can lead to privilege escalation. The root cause is traced to the WXS template used by Briefcase to generate the Windows installer, which did not explicitly set secure permissions on the installation directory. The vulnerability is classified under CWE-732, indicating incorrect permission assignment for a critical resource. The issue was addressed in Briefcase version 0.3.26 and later by updating the installer templates to enforce stricter permissions. Users can remediate by upgrading Briefcase or by manually applying the patch to existing WXS files generated by versions 0.3.24 and later. Although no known exploits are reported in the wild, the vulnerability poses a significant risk due to the potential for privilege escalation via binary replacement. The CVSS v3.1 base score is 7.3 (high), reflecting the local attack vector, low complexity, required privileges, user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
This vulnerability allows low-privileged authenticated users to modify or replace application binaries installed by Briefcase-generated MSI installers in per-machine installations. The primary impact is privilege escalation, where an attacker can execute arbitrary code with elevated privileges when an administrator runs the compromised binary. This can lead to full system compromise, unauthorized access to sensitive data, and disruption of system availability. Organizations deploying applications using affected Briefcase versions on Windows systems are at risk, especially in environments where multiple users share the same machine or where strict privilege separation is enforced. The vulnerability undermines the integrity and trustworthiness of installed applications and can be exploited to bypass security controls. Although exploitation requires local access and some user interaction, the high impact on confidentiality, integrity, and availability makes this a critical concern for enterprise environments, development teams, and software distributors using Briefcase for Windows MSI packaging.
Mitigation Recommendations
1. Upgrade Briefcase to version 0.3.26 or later, which includes the fixed WXS templates enforcing correct permissions on installation directories. 2. For existing MSI installers generated with affected versions, manually patch the WXS files to apply the corrected permission settings before rebuilding the installer. 3. Avoid installing Briefcase-generated MSI installers in locations inheriting overly permissive permissions; choose secure installation paths with restricted access. 4. Implement strict access controls on development and build environments to prevent unauthorized modification of installer templates or binaries. 5. Monitor installed applications for unexpected changes to binaries and use file integrity monitoring tools to detect unauthorized modifications. 6. Educate administrators and users to avoid running untrusted binaries with elevated privileges and to verify the integrity of installed applications. 7. Consider deploying application whitelisting and privilege management solutions to limit the impact of potential binary replacement attacks. 8. Regularly audit permissions on installed application directories to ensure they conform to least privilege principles.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Japan, South Korea, India, Brazil
CVE-2026-33430: CWE-732: Incorrect Permission Assignment for Critical Resource in beeware briefcase
Description
Briefcase is a tool for converting a Python project into a standalone native application. Starting in version 0.3.0 and prior to version 0.3.26, if a developer uses Briefcase to produce an Windows MSI installer for a project, and that project is installed for All Users (i.e., per-machine scope), the installation process creates an directory that inherits all the permissions of the parent directory. Depending on the location chosen by the installing user, this may allow a low privilege but authenticated user to replace or modify the binaries installed by the application. If an administrator then runs the altered binary, the binary will run with elevated privileges. The problem is caused by the template used to generate the WXS file for Windows projects. It was fixed in the templates used in Briefcase 0.3.26, 0.4.0, and 0.4.1. Re-running `briefcase create` on your Briefcase project will result in the updated templates being used. As a workaround, the patch can be added to any existing Briefcase .wxs file generated by Briefcase 0.3.24 or later.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-33430 affects the BeeWare Briefcase tool, which is used to convert Python projects into standalone native applications. Versions from 0.3.0 up to but not including 0.3.26 contain a critical flaw in the Windows MSI installer generation process. When a developer uses Briefcase to create an MSI installer for a project installed for all users (per-machine scope), the installation directory inherits permissions from its parent directory. This inheritance can result in overly permissive access rights, allowing low-privileged but authenticated users on the system to replace or modify the installed application binaries. Since the binaries run with elevated privileges when executed by an administrator, this modification can lead to privilege escalation. The root cause is traced to the WXS template used by Briefcase to generate the Windows installer, which did not explicitly set secure permissions on the installation directory. The vulnerability is classified under CWE-732, indicating incorrect permission assignment for a critical resource. The issue was addressed in Briefcase version 0.3.26 and later by updating the installer templates to enforce stricter permissions. Users can remediate by upgrading Briefcase or by manually applying the patch to existing WXS files generated by versions 0.3.24 and later. Although no known exploits are reported in the wild, the vulnerability poses a significant risk due to the potential for privilege escalation via binary replacement. The CVSS v3.1 base score is 7.3 (high), reflecting the local attack vector, low complexity, required privileges, user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
This vulnerability allows low-privileged authenticated users to modify or replace application binaries installed by Briefcase-generated MSI installers in per-machine installations. The primary impact is privilege escalation, where an attacker can execute arbitrary code with elevated privileges when an administrator runs the compromised binary. This can lead to full system compromise, unauthorized access to sensitive data, and disruption of system availability. Organizations deploying applications using affected Briefcase versions on Windows systems are at risk, especially in environments where multiple users share the same machine or where strict privilege separation is enforced. The vulnerability undermines the integrity and trustworthiness of installed applications and can be exploited to bypass security controls. Although exploitation requires local access and some user interaction, the high impact on confidentiality, integrity, and availability makes this a critical concern for enterprise environments, development teams, and software distributors using Briefcase for Windows MSI packaging.
Mitigation Recommendations
1. Upgrade Briefcase to version 0.3.26 or later, which includes the fixed WXS templates enforcing correct permissions on installation directories. 2. For existing MSI installers generated with affected versions, manually patch the WXS files to apply the corrected permission settings before rebuilding the installer. 3. Avoid installing Briefcase-generated MSI installers in locations inheriting overly permissive permissions; choose secure installation paths with restricted access. 4. Implement strict access controls on development and build environments to prevent unauthorized modification of installer templates or binaries. 5. Monitor installed applications for unexpected changes to binaries and use file integrity monitoring tools to detect unauthorized modifications. 6. Educate administrators and users to avoid running untrusted binaries with elevated privileges and to verify the integrity of installed applications. 7. Consider deploying application whitelisting and privilege management solutions to limit the impact of potential binary replacement attacks. 8. Regularly audit permissions on installed application directories to ensure they conform to least privilege principles.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-19T18:45:22.435Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69c569d6f4197a8e3be94d83
Added to database: 3/26/2026, 5:16:06 PM
Last enriched: 3/26/2026, 5:31:49 PM
Last updated: 3/26/2026, 7:43:53 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.