/

CVE-2026-52793

Severity:

HIGH RISK

(8.1)

Authentication Bypass (CWE-287) in Froxlor API Auth

CVE-2026-52793

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized access and modification of administrative and customer resources

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Froxlor's API authentication path may grant access to accounts protected by two-factor authentication after validating only an API key and secret. An attacker who obtains credentials for a protected account could call permitted API functions without providing the account's configured second factor.

Affected context

The issue occurs in Froxlor deployments where administrator or customer accounts use two-factor authentication and are also accessible through the API. The web interface may enforce a TOTP challenge, while the API authentication path can authorize requests based on API credentials, expiration, permissions, and account status without evaluating the account's two-factor configuration.

Exploit preconditions

  • Attack surface: Froxlor API authentication and exposed API functions
  • Required access: An API key and secret belonging to an administrator or customer account with two-factor authentication enabled
  • Trigger point: API authentication through FroxlorRPC::validateAuth
  • Why exploitation is possible: The API validates primary credentials and account properties but does not require or validate a configured TOTP code through the two-factor authentication component

Why this happens

The underlying bug is an inconsistent authentication policy between the web interface and API. The API validation path treats possession of an API key and secret as sufficient even when the associated account requires a second factor, rather than applying the same authentication-state and TOTP checks used elsewhere. This maps to CWE-287, Improper Authentication, because the protected account is authenticated without verifying all required factors.

Potential impact

  • An attacker may access API functions available to the compromised account.
  • Customer data, domains, email accounts, FTP accounts, or databases could be exposed or modified.
  • DNS records or certificate-related material could be altered.
  • Administrative control could be expanded if a privileged account's credentials are obtained.
  • Service availability and tenant isolation could be affected.

General mitigation guidance

Mitigation generally focuses on enforcing a consistent authentication policy

across every access channel.

Common defensive patterns include:

  • Require the configured second factor for API sessions associated with accounts protected by two-factor authentication.
  • Reuse a centralized authentication component so web and API paths apply equivalent factor checks.
  • Limit API permissions and account privileges to the minimum required.
  • Protect API keys and secrets as high-sensitivity credentials, and avoid placing them in logs, source code, or broadly readable configuration.
  • Apply short credential lifetimes, controlled rotation, and revocation workflows where operationally appropriate.
  • Restrict API exposure through network policy, administrative gateways, and narrowly scoped access controls.

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis and code review checks for API authentication paths that validate credentials without evaluating account-level two-factor settings.
  • Tests that compare authentication behavior across web, API, command-line, and service interfaces.
  • Integration tests confirming that protected accounts cannot access authenticated functions without a valid second factor.
  • Audit-log reviews for API activity by two-factor-protected accounts lacking corresponding second-factor events.
  • Policy enforcement requiring centralized authentication middleware and explicit factor-state handling for privileged APIs.

Sources

SourceLink
github.comgithub.com/froxlor/froxlor/commit/7fc21dc6f8d22673e4ddc765b710c9d3f85cb001
github.comgithub.com/froxlor/froxlor/releases/tag/2.3.7
github.comgithub.com/froxlor/froxlor/security/advisories/GHSA-f9rx-7wf7-jr36

Frequently asked

questions

It may be exploitable remotely when the Froxlor API is network-accessible and an

attacker obtains a valid API key and secret for an account protected by

two-factor authentication.

Not necessarily. The relevant condition is possession of API credentials that

the API accepts without requiring the account's configured second factor.

Apply the same second-factor requirement to API authentication that applies to

the web interface, preferably through a shared authentication and policy

enforcement component.

Test every authentication channel against the same account security policies,

monitor API use by protected accounts, minimize API privileges, and protect

and rotate API credentials.

Find out what's already
exploitable in your codebase.