Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

FacturaScripts: Account takeover of any 2FA-enabled user (CVE-2026-47677)

0
Critical
Published: 07/13/2026 (07/13/2026, 23:35:48 UTC)
Source: GCVE Database
Product: facturascripts/facturascripts

Description

FacturaScripts contains a critical authentication bypass vulnerability in its two-factor authentication (2FA) validation endpoint. The endpoint accepts unauthenticated POST requests with only a username and TOTP code, without verifying the user's password or requiring CSRF protection. It also lacks rate limiting, allowing brute force attacks against the 2FA codes. Due to an extended verification window, multiple valid codes exist simultaneously, making brute forcing feasible within minutes. Successful exploitation results in complete account takeover of any 2FA-enabled user, including administrators. The vulnerability affects versions prior to 2026.3 and has a CVSS 4.0 base score of 9.3 (critical).

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Affected software

Packagistghsa
facturascripts/facturascripts
Affected versions
<2026.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 09:45:47 UTC

Technical Analysis

The vulnerability exists in FacturaScripts' Core/Controller/Login.php method twoFactorValidationAction(), which processes 2FA validation without requiring password verification or CSRF tokens, and without rate limiting. The verification window for TOTP codes is set to 8, allowing approximately 17 valid codes at once, increasing the chance of guessing a valid code. An attacker who knows a target's username (nick) can brute force the 2FA code via unauthenticated POST requests to /login?action=two-factor-validation. This leads to full session cookie issuance and complete account takeover. The vulnerability is present in all versions before 2026.3. A public proof-of-concept exploit exists demonstrating the attack.

Potential Impact

An unauthenticated remote attacker can completely bypass two-factor authentication and gain full access to any 2FA-enabled user account by brute forcing valid TOTP codes. This includes administrative accounts, which typically have publicly guessable usernames. The attacker gains full read and write privileges as the compromised user, potentially exposing sensitive data and allowing unauthorized actions. The vulnerability also enables targeted denial-of-service by locking out legitimate users after repeated failed attempts. The overall impact is critical, compromising confidentiality and integrity with minimal availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling 2FA or restricting access to the vulnerable endpoint if possible. Monitoring for unusual authentication attempts and applying external rate limiting may help mitigate brute force attacks. Avoid exposing the 2FA validation endpoint publicly. Follow vendor updates closely for an official patch or temporary mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c67f-gmxw-mj93
Osv Schema Version
1.4.0
Aliases
["CVE-2026-47677"]
Ecosystems
["Packagist"]
Database Specific Severity
CRITICAL
Cvss Version
4.0

Threat ID: 6a55ff8968715ace432f46e8

Added to database: 07/14/2026, 09:21:13 UTC

Last enriched: 07/14/2026, 09:45:47 UTC

Last updated: 07/31/2026, 20:30:04 UTC

Views: 53

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses