CVE-2022-40797

CRITICAL

Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS value in conf.json only blocks .php, .php4, and .php5 files. (Visiting any .phar file invok...

Affects 1 product across 1 vendor.

CVSS 3.19.8
EPSS3.0%
Percentile87th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
CWE Weakness Definitions
CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

Related Attack Patterns (CAPEC)
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs
via CWE-434

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

Roxy Fileman 1.4.6 is vulnerable to Remote Code Execution (RCE) due to an insecure configuration that allows .phar files to be uploaded, which can be executed by the PHP interpreter in certain web server setups.

BSID: BS-2022-GLOBAL-332961-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2022-40797?
Roxy Fileman 1.4.6 is vulnerable to Remote Code Execution (RCE) due to an insecure configuration that allows .phar files to be uploaded, which can be executed by the PHP interpreter in certain web server setups.
What is the CVSS score for CVE-2022-40797?
CVE-2022-40797 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.0%.
Is CVE-2022-40797 actively exploited?
No confirmed active exploitation of CVE-2022-40797 as of 2026-09-25.
How do I remediate CVE-2022-40797?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-40797?
CVE-2022-40797 affects Roxyfileman Roxy Fileman.
Vulnerability Details
CVE IDCVE-2022-40797
BSIDBS-2022-GLOBAL-332961-C BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-11-09
Last Modified2026-06-17
ICS Relevance0%
Weakness (CWE)
SourceNVD
Official Description

Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS value in conf.json only blocks .php, .php4, and .php5 files. (Visiting any .phar file invokes the PHP interpreter in some realistic web-server configurations.)

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

An attacker can exploit this vulnerability by uploading a malicious .phar file to the server. If the web server is configured to interpret .phar files as PHP, the uploaded file can execute arbitrary code on the server, leading to a full system compromise.

Exploitation Likelihood: CRITICAL

Affected Products
VendorProductAffected Versions
Roxyfileman Roxy Fileman 1.4.6
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 1437 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceHIGH
Enriched At2026-05-24
SHA-512 Audit Hash1b9b88c9444d3f3b667ac68601b47624b213d3db4c59d68e1a5ef1d8817ba3da1cb59374b2f7770770401a4838e214149d26e2501d50a4f7e415188d4327d9c3
Related CVEs affecting Roxyfileman
CVE-2018-20526 9.8 Roxy Fileman 1.4.5 allows unrestricted file upload in upload.php. CVE-2019-7174 9.8 Roxy Fileman 1.4.5 allows attackers to execute renamefile.php (aka Rename Fil... CVE-2018-20525 9.1 Roxy Fileman 1.4.5 allows Directory Traversal in copydir.php, copyfile.php, a... CVE-2018-12042 7.5 Roxy Fileman through v1.4.5 has Directory traversal via the php/download.php ... CVE-2019-19731 7.5 Roxy Fileman 1.4.5 for .NET is vulnerable to path traversal. A remote attacke...
View all Roxyfileman CVEs →

Critical Severity - Know Your Exposure

A CVSS 9.8 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.

Create a free account →