ZeroHour

CVE-2026-64836

niche

Authenticated Path Traversal in ICEcoder <= 8.1 Allows Arbitrary File Read/Write/Delete

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

ICEcoder, a self-hosted web-based PHP code editor, contains a path traversal flaw (CWE-22) in its file-control endpoint in all versions through 8.1. The document-root confinement check is broken because the File::check() validation function compares realpath()'s return value to boolean true, a comparison that can never succeed since realpath() returns either a path string or false, so submitted paths are never actually confined. An authenticated attacker can therefore submit traversal sequences (such as ../) or absolute paths in the file parameter to read, write, or delete arbitrary files outside the configured document root, using the privileges of the web application. Any deployment of ICEcoder 8.1 or earlier is affected; exploitation requires valid low-privilege credentials and no user interaction, and the flaw is scored 8.7 (High) in CVSS 4.0. The issue is not in CISA's KEV, no public proof-of-concept is known, and there are currently no reports of in-the-wild exploitation.

What to do: Upgrade to an ICEcoder release newer than 8.1 once a patched version is published, as the advisory names no fixed version. In the meantime, restrict ICEcoder access to trusted users (e.g., IP allowlisting or VPN) since exploitation requires an authenticated session, review web-server logs for requests to the file-control endpoint containing ../ or absolute paths, and audit files writable by the web-server user for unexpected modifications or deletions.

Affected
ICEcoder (open-source project) ICEcoderall versions through 8.1 (<= 8.1); no fixed version identified in the advisory
Estimated exposure
nichelikely on the order of hundreds to low thousands of self-hosted instances worldwide (estimate) — ICEcoder is a small self-hosted open-source PHP code editor with no centralized install telemetry, so this estimate is based on its modest open-source community adoption and self-hosted deployment model rather than measured install counts.

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

Description

ICEcoder versions through 8.1 contain a path traversal vulnerability in the file-control endpoint due to a logic error in the document-root confinement check. The File::check() validation function compares realpath() to boolean true, which never succeeds, allowing authenticated attackers to submit traversal sequences or absolute paths in the file parameter to read, write, or delete files outside the configured document root.

Weakness
CWE-22, CWE-697
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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.