All vulnerabilities

Servers and applications

CVE-2026-41228

Local File Inclusion via path traversal in API `def_language` parameter leads to Remote Code Execution

Severity
Critical 9.9
Published
15 Apr 2026
Last changed
11 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.3.6
Exploit chance
0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
PHP file inclusion (CWE-98)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-w59f-67xm-rxx7
Sources
NVD, Project advisories (GitHub)

Description

The Froxlor API endpoint Customers.update (and Admins.update) does not validate the def_language parameter against the list of available language files. An authenticated customer can set def_language to a path traversal payload (e.g., ../../../../../var/customers/webs/customer1/evil), which is stored in the database. On subsequent requests, Language::loadLanguage() constructs a file path using this value and executes it via require, achieving arbitrary PHP code execution as the web server user.

Root cause: The API and web UI have inconsistent validation for the def_language parameter.

The web UI (customer_index.php:261, admin_index.php:265) correctly validates def_language against Language::getLanguages(), which scans the lng/ directory for actual language files:

The API (Customers.php:1207, Admins.php:600) only runs Validate::validate() with the default regex /^[^\r\n\t\f\0]*$/D, which permits path traversal sequences:

From froxlor/froxlor's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FroxlorServers and applications · cpe:a:froxlor:froxlor
  • Every version before 2.3.6
FroxlorServers and applications · github:froxlor/froxlor
  • Every version before 2.3.6

About Froxlor

The server administration software for your needs - The official Froxlor development Git repository

From its GitHub repository.
Monthly downloads (Packagist)
159Packagist, 15 Nov 2026
Total downloads (Packagist)
406Packagist, 15 Nov 2026
GitHub stars
1,752GitHub, 15 Nov 2026
Forks
467GitHub, 15 Nov 2026
Latest release
2.3.17GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
GNU Lesser General Public License, version 2.1Wikidata
Written in
PHPWikidata
First published on GitHub
6 Mar 2012GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-41228
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-41228
  • GitHub Advisory Database https://github.com/advisories/GHSA-w59f-67xm-rxx7
  • github.com https://github.com/froxlor/froxlor/security/advisories/GHSA-w59f-67xm-rxx7