CVE-2026-77526: Authenticated path traversal in FacturaScripts UploadedFile::move()
CVE-2026-77526 is a path traversal vulnerability in FacturaScripts UploadedFile::move(). Unsanitized client-supplied filenames reach six upload entry points, allowing authenticated users with upload privileges to write arbitrary content outside the intended upload directory to locations writable by the web-server user. Exploitation can overwrite application assets, inject JavaScript into administrator sessions, and enable session takeover. Under permissive Apache configurations that allow attacker-controlled configuration overrides and PHP handler mapping, the arbitrary file write can be chained to remote code execution. Version 2026.3 is identified as fixed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise application confidentiality, integrity, and availability through arbitrary file writes with the web-server user's filesystem permissions. Potential consequences include application asset modification, JavaScript injection into administrator sessions, and session takeover. On Apache installations permitting configuration overrides and PHP handler mapping in writable directories, exploitation can execute arbitrary PHP as the web-server user. The assigned CVSS v3.0 score is 9.9, with changed scope and high confidentiality, integrity, and availability impacts.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict upload permissions and API token access to trusted users across all six affected upload entry points. Prefer per-entry-point extension allowlists over blocklists; otherwise, additionally block htaccess, htm, html, shtml, and phtm. Enforce canonical destination containment within the intended upload directory. Deny direct web access to the upload directory and route downloads through the application's token-protected endpoint. Disable attacker-controlled Apache configuration overrides and prevent script execution in writable directories.
Remediation
Patch, then assume compromise.
Upgrade facturascripts/facturascripts and related packages to version 2026.3 or later. The proposed central code correction sanitizes destination filenames with basename() in UploadedFile::move() and applies equivalent protection in moveTo(). Supplement filename sanitization with canonical destination-path containment checks and per-entry-point upload allowlists.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-77526 exploited in the wild?
- As of Nov 3, 2026, Mallory has no reports of CVE-2026-77526 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-77526?
- As of Nov 3, 2026, Mallory has found no public exploit for CVE-2026-77526.
- Is there a patch for CVE-2026-77526?
- Upgrade facturascripts/facturascripts and related packages to version 2026.3 or later. The proposed central code correction sanitizes destination filenames with basename() in UploadedFile::move() and applies equivalent protection in moveTo().
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.