Skip to main content
Public proof of conceptFix availableAwaiting NVD analysis

CVE-2026-77526

FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE

A public proof of concept exists; no exploitation attested.

  • Published2026-12-04
  • Fixed in2026.3
  • WeaknessCWE-22 · CWE-434

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3, FacturaScripts\Core\UploadedFile::move($destiny, $destinyName) concatenates $destiny and $destinyName without normalizing the resulting path. Every caller in the codebase passes UploadedFile::getClientOriginalName() — the unsanitized client-supplied filename — as $destinyName, so an authenticated user submitting a filename containing ../ segments can write the uploaded content to any directory writable by the web-server user, escaping the intended MyFiles/ location. Because the shipped htaccess-sample (the documented production Apache configuration) excludes Dinamic/Assets/ and node_modules/ from the index.php rewrite, files written into those directories are served directly by Apache. Combined with .htaccess not being in BLOCKED_EXTENSIONS, the primitive escalates from arbitrary file write to remote code execution. This issue has been patched in version 2026.3.

Timeline

dates in UTC
  1. 2026-12-0417:18CVE publishedCNA

Versions per branch

OSV
facturascripts/facturascripts
BranchAffectedFixed in
2026.3≥ 2025, < 2026.32026.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • NeoRazorX facturascripts
    Affected
    • = >= 2025, < 2026.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-04

Fix

  1. Update facturascripts/facturascripts to 2026.3

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-12-04
  • CNACVSS 3.19.92026-12-04
  • CNAweakness (CWE)CWE-22, CWE-4342026-12-04
  • NVDweakness (CWE)CWE-22, CWE-434read 2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2026-07-14

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
2026-12-04
Last modified
2026-12-04
NVD status
Received
GitHub advisory
GHSA-hgjx-r89m-m7v4

Frequently asked questions

What is CVE-2026-77526?

FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3, FacturaScripts\Core\UploadedFile::move($destiny, $destinyName) concatenates $destiny and $destinyName without normalizing the resulting path. Every caller in the codebase passes UploadedFile::getClientOriginalName() — the unsanitized client-supplied filename — as $destinyName, so an authenticated user submitting a filename containing ../ segments can write the uploaded content to any directory writable by the web-server user, escaping the intended MyFiles/ location. Because the shipped htaccess-sample (the documented production Apache configuration) excludes Dinamic/Assets/ and node_modules/ from the index.php rewrite, files written into those directories are served directly by Apache. Combined with .htaccess not being in BLOCKED_EXTENSIONS, the primitive escalates from arbitrary file write to remote code execution. This issue has been patched in version 2026.3.

Is CVE-2026-77526 actively exploited?

A proof-of-concept exploit exists for CVE-2026-77526, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-77526?

CVE-2026-77526 has a CVSS v3 base score of 9.9 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Running facturascripts/facturascripts? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record