Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid Flextype API token
-
DeliverySend crafted POST /api/v1/query request
-
ExploitInject unsanitized Symfony expression
-
InstallInvoke filesystem() object in eval scope
-
C2Read arbitrary server-side files
-
ExecutePlace PHP file via secondary write vector
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
Flextype CMS REST API routes through version 1.0.0-alpha.3 transmit API authentication token pairs as URL query string p
Path traversal in Flextype CMS through 1.0.0-alpha.3 allows API token holders to escape the designated entries directory
Stored cross-site scripting in Flextype CMS 0.9.9 through 1.0.0-alpha.3 allows an attacker with write access to the serv
EUVD-2026-67837
GHSA-j8rr-2wmh-q2h8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB