# CVE-2026-97150: baserCMS BcAddonMigrator arbitrary code execution in config.php inclusion

Source: https://junglewise.ai/threats/cve-2026-97150-when-converting-basercms4-style-addons-to-basercms5-style-ones  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-30. Updated: 2026-09-30  
License: CC BY 4.0 with a link back

CVE-2026-97150 · Severity: high · CVSS 7.2 · Published 2026-09-30

The BcAddonMigrator plugin for baserCMS, used to convert older add-on formats to a newer version, executes PHP code from configuration files in uploaded ZIP archives. An administrator who processes a maliciously crafted plugin or theme file can trigger arbitrary code execution on the web server, leading to data theft, system compromise, or outage.

Vendors: [Baserproject](https://junglewise.ai/threats/vendors/baserproject).

## Quick answers

**Is CVE-2026-97150 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-97150 being exploited in the wild.

**How severe is CVE-2026-97150?** High severity, with a CVSS score of 7.2, published 30 September 2026.

**Which products and versions are affected?** Baserproject BcAddonMigrator 5.2.0 and earlier.

**Is there a fix for CVE-2026-97150?** A patch was published on 2026-08-23: Version 5.2.1 released with fix using static parsing instead of include Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-97150 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-97150?** Check whether you run Baserproject BcAddonMigrator at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in the migrateAddonConfig() function, which includes and executes config.php files from addon ZIP archives without validation. An authenticated attacker with admin privileges can supply a crafted ZIP file containing malicious PHP code in config.php to achieve remote code execution under the web server process. The fix replaces the include statement with static analysis using token_get_all(), preventing code execution while still parsing configuration.

## Affected products

- baserproject BcAddonMigrator 5.2.0 and earlier

## Timeline

- 2026-09-24: disclosed
- 2026-08-23: patched: Version 5.2.1 released with fix using static parsing instead of include
- 2026-09-30: advisory

## References

- [https://basercms.net/security/JVN_21754394](https://basercms.net/security/JVN_21754394)
- [https://github.com/baserproject/BcAddonMigrator/commit/e836bc875e26910e1b5862f96cf280b4f064c104](https://github.com/baserproject/BcAddonMigrator/commit/e836bc875e26910e1b5862f96cf280b4f064c104)
