# CVE-2022-40797: Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDENUPLOADS value in conf.json only blocks .ph…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.25%, higher than 91% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-11-09T00:00:00.000Z
- Modified: 2026-06-17T05:02:02.627Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- roxyfileman roxy_fileman: 1.4.6

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html> (exploit, third-party-advisory, vdb-entry)
- <https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18> (third-party-advisory)
- <https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php> (product)

## Sources

- CVE List: [CVE-2022-40797](https://www.cve.org/CVERecord?id=CVE-2022-40797), CVE Terms of Use, modified 2025-05-01
- NVD: [CVE-2022-40797](https://nvd.nist.gov/vuln/detail/CVE-2022-40797), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40797 · Whole record: https://cve.day/CVE-2022-40797.json · Rebuilt by cve.day 2026-11-25T22:58:16.313Z
