CVE-2026-42878
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedFacturaScripts is an open source accounting and invoicing software. Prior to v2026, an unauthenticated information disclosure vulnerability in the Installer controller allows any remote attacker to trigger phpinfo() on a fresh FacturaScripts deployment by requesting /?phpinfo=TRUE, exposing full PHP configuration, server environment variables (including any database credentials, API keys, or application secrets set as env vars), filesystem paths, and loaded extensions without being authenticated. This vulnerability is fixed in v2026.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAn unauthenticated information disclosure vulnerability in the Installer controller of FacturaScripts allows remote attackers to trigger phpinfo() by requesting /?phpinfo=TRUE on fresh deployments, exposing full PHP configuration, server environment variables (including database credentials, API keys, and application secrets), filesystem paths, and loaded extensions without authentication.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify if installer endpoint is accessibleRequest http(s)://<your-host>/?phpinfo=TRUE and check if the response contains a full phpinfo() output pageAffected if The page loads and displays PHP version, configuration details, and environment variables without requiring authentication
-
Check for existence of installer directoryInspect the web root directory for an 'installer' folder or any directory related to FacturaScripts installation that may remain after initial setupAffected if The installer directory or installation files are present on the production server
-
Confirm FacturaScripts versionLocate the version file or bootstrap file in the FacturaScripts installation and read the version number (typically in a version.php, constants.php, or similar file in the root or config directory)Affected if The installed version is below v2026 (e.g., any v20xx or earlier release)
-
Test for unauthenticated access to installer routesAttempt to access common installer paths such as /installer, /install, or /setup without providing any credentialsAffected if These paths are accessible and return installation or configuration pages without authentication
You are affected if the installer remains accessible, /?phpinfo=TRUE returns PHP configuration data without authentication, or the installed FacturaScripts version is below v2026.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to FacturaScripts v2026 or later to eliminate the vulnerable installer endpoint. For deployed systems, ensure the /installer path is removed or access-controlled in production and rotate any credentials that may have been exposed via environment variables.
v2026
- 1. Back up your current FacturaScripts installation and database before proceeding with any upgrade.
- 2. Download FacturaScripts v2026 from the official repository (github.com/facturascripts/facturascripts) or use the built-in update mechanism if available.
- 3. Replace the existing FacturaScripts files with the v2026 files, preserving your configuration and data directories as instructed in the upgrade documentation.
- 4. After upgrading, verify the vulnerability is patched by attempting to access /?phpinfo=TRUE - it should not return phpinfo() output.
- 5. Ensure your application is functioning normally after the upgrade.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-42878 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-42878 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data