Skip to main content

stumasy CVE-2026-14749

| EUVDEUVD-2026-41755 MEDIUM
Code Injection (CWE-94)
2026-07-05 VulDB GHSA-gq7f-p38f-cwj8
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Identify publicly accessible calculate.php endpoint
  2. Delivery
    Craft HTTP request with PHP payload in mathematical_sentence parameter
  3. Exploit
    Server passes unsanitized input to eval()
  4. Execution
    Arbitrary PHP code executes as web server process
  5. Impact
    Attacker achieves remote code execution on host

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

The calculate.php endpoint (application/pages/imba_calculator/calculate.php) must be reachable over the network - no authentication is required per CVSS PR:N. The imba_calculator feature must be deployed and accessible (it may be part of the default application layout). No special configuration, specific platform version, or user interaction is required beyond network reachability. Exploitation is limited only by whether the calculate.php route is publicly exposed; if placed behind authentication or access controls at the web server or application layer, the attack surface is eliminated. The CVSS 4.0 AT:N (no attack requirements) confirms no additional preconditions exist.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms this is trivially reachable: no authentication, no complexity barrier, no user interaction, over the network. However, the reported impact metrics (VC:L/VI:L/VA:L) appear to understate the real-world risk of eval()-based code injection, which typically yields full server-side code execution - implying high confidentiality, integrity, and availability impact. This discrepancy is not explained by the available data and should be verified against the reporter's rationale on VulDB. The E:P (exploit public) supplemental metric confirms working exploit code exists, lowering the skill bar for attackers significantly. The vulnerability is not currently in the CISA KEV catalog, and no EPSS data was provided, limiting exploitation-frequency confidence. Given the trivial exploitation conditions, public PoC, and unpatched status with no vendor response, the real-world risk is likely higher than the CVSS 4.0 score of 6.9 suggests. The primary risk limiter is the obscurity and limited deployment footprint of stumasy itself.

Exploit ScenarioDerived

An attacker identifies a stumasy instance with the imba_calculator feature publicly accessible, sends a crafted HTTP request to calculate.php with a mathematical_sentence parameter containing embedded PHP code (e.g., a system() call or web shell payload), and the server's eval() function executes the injected code with the privileges of the web server process. A public proof-of-concept demonstrating this technique exists at https://github.com/mjperpinosa/stumasy/issues/5, lowering the skill requirement to near-zero.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jul 05, 2026

Remote PHP code injection in stumasy's calculator module allows unauthenticated network attackers to execute arbitrary server-side code by manipulating the mathematical_sentence parameter passed unsanitized into PHP's eval() function in calculate.php. A public proof-of-concept exploit exists (GitHub issue #5), and no patch has been released - the project maintainer has not responded to the disclosure. The rolling release model means no fixed version can be cited; the vulnerability is present through at least commit 327d1b0f2915ba79d7ef8ebb74553e987609d9be.

RemediationAI

No vendor-released patch has been identified at time of analysis - the project maintainer has not responded to the disclosure reported via GitHub issue #5 (https://github.com/mjperpinosa/stumasy/issues/5). As an immediate compensating control, restrict or disable web access to the calculate.php endpoint entirely (e.g., deny access via web server configuration rules for the path application/pages/imba_calculator/calculate.php) - trade-off is loss of the calculator feature. If the feature must remain accessible, apply a strict server-side allowlist that permits only numeric characters, standard arithmetic operators (+, -, *, /), parentheses, and decimal points in the mathematical_sentence parameter before it reaches eval(); this eliminates the injection surface but requires code modification. Replacing PHP's eval() with a safe math-parsing library (e.g., mossadal/math-parser or similar) is the correct long-term fix. Monitor VulDB entry https://vuldb.com/vuln/376338 and the GitHub repository for any upstream patch.

Affected VersionsENISA

stumasy 327d1b0f2915ba79d7ef8ebb74553e987609d9be

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

stumasy (CPE: cpe:2.3:a:mjperpinosa:stumasy:*:*:*:*:*:*:*:*) is a PHP web application. The affected component is the imba_calculator feature, specifically application/pages/imba_calculator/calculate.php. The root cause is CWE-94 (Improper Control of Generation of Code - Code Injection): the function eval() is called with user-supplied input from the mathematical_sentence HTTP parameter without sufficient sanitization or allowlist validation. PHP's eval() executes arbitrary PHP code at runtime, meaning any attacker-controlled string injected here is interpreted and executed as server-side PHP. This is a textbook eval-injection pattern common in PHP applications that attempt to evaluate mathematical expressions via eval() rather than using a dedicated safe math parser library.

Know when Stumasy 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 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 10.0 CRITICAL

Network-accessible eval() injection with no authentication or complexity barriers; PHP code execution implies full confidentiality, integrity, and availability impact on the server.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/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
None
User Interaction
None
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

1
CVSS changed
Jul 05, 2026 - 13:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.org

A vulnerability was identified in mjperpinosa stumasy up to 327d1b0f2915ba79d7ef8ebb74553e987609d9be. Impacted is the function eval of the file application/pages/imba_calculator/calculate.php. The manipulation of the argument mathematical_sentence leads to code injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Rare
obscure GitHub project, negligible enterprise or production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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