ZeroHour

CVE-2026-91751

niche

Path Traversal in Flextype CMS Entries REST API Allows Arbitrary File Read/Write

CVSS 4.0
7.2 high
EPSS
Published
()
Modified
AI analysis

Flextype CMS through version 1.0.0-alpha.3 fails to validate the id and new_id parameters in its Entries REST API, allowing path traversal. An attacker holding a valid API token can send requests containing traversal sequences that escape the project's entries directory and read, create, or overwrite arbitrary files and directories elsewhere on the filesystem. Depending on which files are targeted, this can lead to exposure of sensitive data, corruption of application or configuration files, or full site compromise, reflected in a CVSS 4.0 base score of 7.2 (high) with high integrity and availability impact. All Flextype deployments up to and including 1.0.0-alpha.3 that expose the Entries REST API to token holders are affected. No public proof-of-concept exists and no exploitation has been observed in the wild.

What to do: No fixed release is identified in the data (1.0.0-alpha.3 is the affected and latest noted version), so operators should mitigate rather than simply upgrade: disable or tightly restrict the Entries REST API, issue API tokens only to trusted users and rotate any that may have leaked, and run the CMS under an account/container with minimal filesystem permissions so traversal cannot reach sensitive paths. Audit for unexpected files or modifications outside the entries directory and review API logs for traversal sequences (e.g., ../, URL-encoded variants) in id and new_id parameters.

Affected
Flextype CMSthrough 1.0.0-alpha.3 (all versions up to and including 1.0.0-alpha.3)
Estimated exposure
nicheunknown; plausibly on the order of hundreds to low thousands of self-hosted sites — Flextype is a niche open-source flat-file CMS with no published install counts, marketplace presence, or internet-wide scan data available to anchor an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Flextype CMS through 1.0.0-alpha.3 fails to properly validate id and new_id parameters in the Entries REST API, allowing API token holders to read, create, or overwrite files outside the entries directory. Attackers can use traversal sequences in API requests to escape the project entries directory and manipulate arbitrary files and directories on the filesystem.

Weakness
CWE-22
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.