/

CVE-2026-130351

Severity:

HIGH RISK

(7.2)

Authorization Bypass (CWE-639) in phpMyFAQ Redis Store

CVE-2026-130351

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Cross-tenant configuration disclosure and modification

Severity:

HIGH RISK

(7.2)

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

phpMyFAQ's multisite Redis configuration store does not properly isolate tenant configuration, allowing a tenant administrator to access and change the master instance's effective settings. Depending on the settings changed, this could expose sensitive configuration or affect services that rely on it.

Affected context

The issue affects phpMyFAQ versions from 4.2.0-alpha before 4.2.0-RC.2 when multisite deployments use the Redis configuration store. In this context, configuration access is not scoped to the requesting tenant, so tenant administrators may be able to read or overwrite settings used by the master instance.

Exploit preconditions

  • Attack surface: The administrative configuration API at /admin/api/configuration
  • Required access: Tenant administrator privileges in an affected multisite deployment
  • Trigger point: Reading or saving configuration through the API
  • Why exploitation is possible: The Redis-backed configuration store does not enforce tenant scoping, allowing tenant-level access to affect master-instance configuration. Changing storage.redisPrefix may also affect which configuration is targeted.

Why this happens

The underlying issue is an authorization and tenant-isolation failure. Configuration lookups and updates in the multisite Redis store are not adequately scoped to the authenticated tenant, allowing a tenant administrator to access settings outside their intended boundary. This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where access control does not sufficiently constrain which resource a user can address.

Potential impact

  • Tenant administrators may be able to read sensitive master-instance configuration.
  • They could alter master SMTP, authentication, or API-token settings.
  • Changes may disrupt email delivery or weaken authentication controls.
  • A known API token or redirected service configuration could enable further misuse, depending on the deployment.

General mitigation guidance

Mitigation patterns focus on enforcing authorization at the configuration-store boundary:

  • Scope every configuration read and write to the authenticated tenant using server-controlled identity.
  • Avoid allowing tenant-controlled values, such as storage prefixes, to select or redirect access to privileged configuration.
  • Apply explicit authorization checks to administrative configuration operations and validate them against a strict schema.
  • Separate master-instance configuration from tenant configuration where practical.
  • Use least privilege for service credentials and limit the operational impact of configuration changes.

How teams detect issues like this

Review configuration-store access paths for tenant identity checks applied consistently to reads and writes. Code review and static analysis can look for user-controlled keys or prefixes used to select configuration without authorization validation. Audit logs and policy checks can flag tenant-admin actions that access or modify master-level settings, including changes to Redis prefixes, SMTP settings, API tokens, or authentication configuration.

Sources

SourceLink
github.comgithub.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2
github.comgithub.com/thorsten/phpMyFAQ/security/advisories/GHSA-6795-wmwp-422x
vulncheck.comvulncheck.com/advisories/phpmyfaq-4.2.0-alpha-before-4.2.0-rc.2-cross-tenant-configuration-overwrite-via-redis-store

Frequently asked

questions

The described attack requires tenant administrator access in an affected multisite deployment using the Redis configuration store.

Yes. The issue involves configuration reads and saves through /admin/api/configuration.

Enforce tenant-scoped authorization for every configuration operation, and ensure tenant-controlled values cannot select master-level configuration.

Keep tenant identity and resource selection under server-side control, separate privileged configuration from tenant settings, and test authorization boundaries across tenants.

Find out what's already
exploitable in your codebase.