CVE-2022-40797: Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS valu
CVE-2022-40797 is a critical-severity flaw (CVSS 9.8) affecting roxy fileman. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.)
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.0% (top 13%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2022-11-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-40797?
roxy fileman: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-40797 being exploited?
CVE-2022-40797 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-40797 affect?
CVE-2022-40797 affects roxy fileman. Severity is critical (CVSS 9.8). 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 we
How urgent is CVE-2022-40797?
Priority 66/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action