Skip to main content

Flextype CMS CVE-2026-77939

| EUVDEUVD-2026-67837 HIGH
Code Injection (CWE-94)
2026-08-28 VulnCheck GHSA-j8rr-2wmh-q2h8
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Obtain valid Flextype API token
  2. Delivery
    Send crafted POST /api/v1/query request
  3. Exploit
    Inject unsanitized Symfony expression
  4. Install
    Invoke filesystem() object in eval scope
  5. C2
    Read arbitrary server-side files
  6. Execute
    Place PHP file via secondary write vector
  7. Impact
    Execute arbitrary code remotely

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 possession of a valid Flextype CMS API token (PR:L per CVSS 4.0 vector), restricting the immediate attacker pool to authenticated users or those who have compromised a token. The target instance must have the REST API enabled and the POST /api/v1/query endpoint reachable over the network. The Symfony ExpressionLanguage component must be in scope with filesystem() and serializers() objects registered - this is the default application configuration per the description. Escalation to RCE further requires a secondary file-write vector (e.g., an upload endpoint, a writable temp directory, or a separate vulnerability) to place a PHP file on disk prior to expression invocation; without this, impact is limited to arbitrary file read. The API token requirement and need for a secondary write primitive are the primary limiting factors for defenders assessing risk.

Impact

The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) correctly captures the primary confirmed impact - high confidentiality loss - while the PR:L metric accurately reflects that a valid API token is required, meaningfully narrowing the exploitable population compared to unauthenticated flaws. The publicly available POC raises practical risk above what the base score alone suggests, as exploitation requires minimal effort once a token is obtained. However, no KEV listing exists, and Flextype is a niche product, making widespread scanning-style exploitation unlikely. The conditional RCE path is a material escalation concern but requires an independent file-write primitive, so integrity impact in the base score is appropriately absent. The most realistic near-term threat is targeted credential harvesting (reading .env or config files) by compromised or malicious API token holders. EPSS data was not provided; given the auth requirement and product rarity, real-world exploitation probability is assessed as moderate in targeted scenarios rather than broad.

Exploit ScenarioDerived

An attacker who possesses a valid Flextype API token - obtained through credential theft, brute force, or social engineering - submits a POST request to /api/v1/query containing a crafted Symfony expression such as filesystem().read('/var/www/html/.env') to extract database credentials, secret keys, or application configuration. A publicly available proof-of-concept demonstrates this file-read path. If the attacker can additionally write a PHP file to a server-accessible path (e.g., via a file upload feature or world-writable temp directory), they invoke it through the expression engine to achieve remote code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 public PoC No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 28, 2026

Expression language injection in Flextype CMS through v1.0.0-dev enables authenticated API token holders to read arbitrary server-side files by passing unsanitized input to the Symfony ExpressionLanguage engine via POST /api/v1/query. The evaluation scope exposes application objects including filesystem() and serializers(), making sensitive file disclosure (credentials, configuration files, secrets) straightforward for any token-bearing attacker. Escalation to remote code execution is conditionally possible if a secondary vector exists to place a PHP file on disk; a publicly available proof-of-concept exists, and the vulnerability is not yet in CISA KEV.

RemediationAI

No vendor-released patch has been identified at time of analysis - the affected version is a development release (v1.0.0-dev) and no fix version appears in the GitHub issue or VulnCheck advisory. As the most effective immediate compensating control, restrict or disable access to the POST /api/v1/query endpoint at the network perimeter or WAF layer, limiting it to trusted internal IP ranges only; be aware this will break API-dependent integrations. All existing API tokens should be audited and rotated to minimize the pool of potential attackers, particularly any tokens shared with external parties. Deployers should also audit server-writable directories to reduce the secondary file-write attack surface that enables RCE escalation. Monitor the upstream GitHub issue at https://github.com/flextype/flextype/issues/595 and VulnCheck advisory for patch releases, and apply any official fix immediately upon release.

Affected VersionsENISA

flextype 0 ≤1.0.0-dev
flextype 0 ≤aea4ead8c449ea5517ed53b6dcbd28b0a528ad9d

Affected Packages

euvd flextype no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Flextype CMS is a PHP-based flat-file content management system that exposes a REST API built on Symfony components. The vulnerable endpoint POST /api/v1/query passes user-supplied query expressions directly to Symfony's ExpressionLanguage component - a sandboxed but highly expressive evaluation engine. The flaw (CWE-94: Improper Control of Generation of Code) arises because the application registers powerful application-layer objects - notably filesystem() and serializers() - into the expression evaluation scope without restricting which methods or arguments callers can invoke. An attacker who crafts an expression referencing filesystem() can traverse and read arbitrary files on the server. Because ExpressionLanguage supports conditional branching and object method invocation, PHP file inclusion becomes possible if the attacker controls a file path on disk via any secondary channel. CPE cpe:2.3:a:flextype:flextype:*:*:*:*:*:*:*:* indicates all Flextype versions through the current dev release are affected.

Know when Flextype 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 (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable API requires a valid token (PR:L); only confidentiality is confirmed impacted via file read; conditional RCE excluded from base score absent a confirmed write primitive.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Flextype CMS through v1.0.0-dev contains an expression language injection vulnerability that allows authenticated attackers with a valid API token to read arbitrary files by passing unsanitized user-supplied input to the Symfony ExpressionLanguage engine via the POST /api/v1/query endpoint. Attackers can leverage exposed application objects including filesystem() and serializers() within the evaluation scope to read arbitrary server files and achieve conditional remote code execution if a PHP file can be placed on disk through a secondary vector.

Technical POC Analysis

The flaw is server-side expression injection: CWE-94 (Improper Control of Generation of Code), with CWE-1336 as a secondary template-engine neutralization issue.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 public PoC link from github

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Flextype CMS through v1.0.0-dev contains an expression language injection vulnerability in its API that allows authenticated token holders to read arbitrary server files, potentially exposing database credentials, application secrets, and configuration data. Organizations using this CMS for content management with API integrations face immediate risk of credential theft and lateral movement within their infrastructure if API tokens are compromised or insufficiently restricted.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict API token expiration and rotation policies (maximum 30-day lifetime); (2) Restrict API tokens to read-only access on non-sensitive endpoints only; (3) Segment systems running Flextype CMS from servers storing production secrets, encryption keys, and database credentials; (4) Deploy Web Application Firewall rules to block POST bodies containing expression language syntax patterns (${, @, etc.) on /api/v1/query; (5) Enable comprehensive API authentication logging and configure alerts for token use outside normal business hours or geographic regions; (6) Conduct immediate audit of all files accessible to the application process and remove unnecessary credentials from configuration directories.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Rare
niche open-source PHP CMS, minimal enterprise footprint
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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