Skip to main content

APENCMS CVE-2026-95501

| EUVDEUVD-2026-84493 LOW
Code Injection (CWE-94)
2026-09-22 VulDB GHSA-37fp-74rg-cfpq
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain privileged CMS access
  2. Delivery
    Inject PHP into $_CMS['site'] value
  3. Exploit
    Value reaches eval() in weasel.php
  4. Execution
    Execute arbitrary PHP on server
  5. Impact
    Full web-application compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control the $_CMS['site'] argument that the Template Engine passes into PHP eval() in cms/weasel.php - per the CVSS 4.0 vector this demands high privileges (PR:H), consistent with template/site-administration access, plus passive user interaction (UI:P). It is remote (AV:N) and low-complexity (AC:L) once those privileges are held. Limiting factors: the PR:H requirement means it is NOT unauthenticated/default-config exploitable, no patched version is published (rolling release), and the affected product is a niche PHP CMS, so realistic exposure is confined to the small set of deployments where an attacker can already influence the template site variable.

Impact

The single-source vendor rating (VulDB CVSS 4.0 = 1.9, Low) materially understates the technical severity: this is a CWE-94 code-injection flaw where attacker-controlled $_CMS['site'] reaches a PHP eval() in cms/weasel.php, which is effectively full remote code execution, not the VC:L/VI:L/VA:L (all Low) impacts the vendor assigned. My independent assessment rates it ~7.2 (High) on the technical merits. Several real-world signals pull risk DOWN: the CVSS 4.0 vector requires PR:H (privileged control over the template variable) and UI:P (passive user interaction); exploitation status is 'publicly available exploit code exists' (POC via VulDB) but this is NOT active exploitation - it is NOT in CISA KEV and no EPSS score is provided. The dominant risk-limiter is prevalence: APENCMS is an obscure hobby/rolling-release PHP CMS with negligible production footprint, so even a full RCE has little aggregate exposure. CONFLICT TO NOTE EXPLICITLY: the vendor's Low base score conflicts with the eval()-based RCE technical impact - treat the 1.9 as anomalously low and prioritize by technical severity gated behind PR:H. Net: a genuine RCE bug but a targeted/niche concern rather than a fleet-wide priority.

Exploit ScenarioDerived

An attacker who already holds privileged/authenticated access (e.g., a template or site administrator) supplies a crafted $_CMS['site'] value that is passed unsanitized into eval() within the template engine (cms/weasel.php), causing arbitrary PHP to execute on the server. A public proof-of-concept exists (VulDB), lowering the skill needed to reproduce it, though the CVSS vector's UI:P implies some victim interaction in the delivery path.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Code injection in mtrano APENCMS (rolling release, all builds up to commit 6546096d354153309693efabb9a0d824628ed4f5) lets a remote attacker who already holds high-privilege template or site administration access reach a PHP eval() call in cms/weasel.php through the $_CMS['site'] argument and execute arbitrary code on the server. Publicly available exploit code exists, while the vendor was contacted and did not respond, so no fixed build and no published version boundaries are available. The CNA's CVSS 4.0 base score of 1.9 (Low, all impacts rated VC:L/VI:L/VA:L) understates the technical severity: with attacker-controlled input flowing into eval(), successful exploitation is effectively full server-side code execution, and the attacker must already control the template/site variable (PR:H), consistent with template or site administrator rights rather than an unauthenticated default-configuration attack.

RemediationAI

No vendor-released patch identified at time of analysis: mtrano was contacted about this disclosure and did not respond, and the rolling-release model means no fixed build number is published, so there is no version to upgrade to and no upstream PR/commit to cite as a fix. The most effective compensating control mirrors the PR:H precondition - treat template/site administration as a trusted, tightly limited role: restrict the CMS admin and template-editing interfaces to a management network or VPN (not the public internet), enforce least privilege and multi-factor authentication so that no low-trust account can set $_CMS['site'], and remove or disable the eval()-based rendering path in cms/weasel.php rather than sanitising it (side effect: any template feature that relies on dynamically evaluated site configuration stops working, which must be validated against the site's templates). Where the code cannot be changed, replace the dynamic $_CMS['site'] value with a hard-coded whitelist lookup of permitted site identifiers before it is used, which preserves multi-site routing while breaking the injection primitive. As an additional layer, place the application behind a WAF rule that blocks requests whose parameters contain PHP constructs such as <?php, system(, or eval( (bypassable via encoding/obfuscation, so not a substitute for privilege restriction), and monitor PHP-FPM/web logs for unexpected eval-related errors or outbound connections from the CMS host. Given the absence of vendor maintenance and the existence of public exploit code, migration to a maintained CMS should be evaluated if a code-level fix cannot be applied promptly; the only public technical detail remains the VulDB entry at https://vuldb.com/vuln/408349.

Affected VersionsENISA

APENCMS 6546096d354153309693efabb9a0d824628ed4f5

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-94 improper control of code generation (code injection) in a PHP-based template engine. In cms/weasel.php, the function eval takes the value of $_CMS['site'] and feeds it into PHP's eval() language construct, which interprets its argument as PHP source rather than as data. Because $_CMS['site'] originates from request/site input that a template or site administrator can influence, an attacker who can set that value writes the PHP they want evaluated, achieving arbitrary code execution in the context of the web/PHP process that serves apencms. The CPE record cpe:2.3:a:mtrano:apencms:*:*:*:*:*:*:*:* uses a wildcard version field, which corroborates that no bounded affected-version range is published: apencms follows a rolling release model, so every deployed build prior to the current commit hash is potentially vulnerable and cannot be enumerated by version string. The CNA's CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L, E:P) plus the VulDB-reported POC are the only authoritative data points; the independent assessment re-scores the same root cause as CVSS 3.1 AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H, since injecting code into eval yields high confidentiality, integrity and availability impact rather than Low, with the CVSS 4.0 E:P (public proof-of-concept exploit maturity) metric confirming the exploit code is real and shareable.

Know when Apencms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.8 MEDIUM

Controlling $_CMS['site'] requires privileged/template access (PR:H) with some victim interaction (UI:R); eval() yields full PHP RCE, so C/I/A all High.

3.1 AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Sep 22, 2026 - 15:22 NVD
MEDIUM LOW
CVSS changed
Sep 22, 2026 - 15:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

DescriptionCVE.org

A vulnerability was found in mtrano APENCMS up to 6546096d354153309693efabb9a0d824628ed4f5. The affected element is the function eval of the file cms/weasel.php of the component Template Engine. The manipulation of the argument $_CMS['site'] results in code injection. The attack may be performed from remote. The exploit has been made public and could be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Rare
obscure hobby PHP CMS, rolling-release, no enterprise deployment footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy