CVE-2026-134034: HortusFox: Identifier-position SQL Injection in HortusFox AdminController allows persistent passwordless admin access

Published Nov 24, 2026
·
Updated

HortusFox is a self-hosted web application for collaborative plant management. Prior to 6.2, the togglebooleanvalue() handler in app/controller/admin.php passes the name parameter of the /admin/environment/boolean/toggle route in app/config/routes.php to AppModel::updateSingle() in app/models/AppModel.php, which concatenates the parameter into the SQL UPDATE identifier position without validation. An unauthenticated attacker can induce a signed-in administrator to open a crafted link, causing SQL injection that permits expressions and subqueries to read database contents, including an administrator password hash, or modify settings to enable passwordless administrator access. The hash alone does not permit direct login. This issue is fixed in version 6.2.

Affected Software

1 affected component
HortusFox HortusFox<6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.2

Event History

Nov 24, 2026
CVE Published
via MITRE·04:32 PM
Data Sourced
via MITRE·04:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

HortusFox deployments running versions before 6.2 are affected. Exploitation requires a signed-in administrator to open an attacker-crafted link; the attacker does not need to be authenticated.

2

What can an attacker do through this issue?

The injection can be used to read database content through expressions and subqueries, including an administrator password hash, or to alter settings that enable passwordless administrator access. The password hash by itself cannot be used for direct login.

3

Are deployments safe if administrators avoid untrusted links?

Avoiding attacker-crafted links reduces the immediate exploitation path because administrator interaction is required, but affected versions still contain the vulnerable route and SQL construction. Upgrade to version 6.2 to remediate the issue.

4

What is the priority mitigation if upgrading cannot happen immediately?

Limit administrator exposure to untrusted links and prevent administrators from opening unexpected URLs while signed in. This is only a temporary mitigation; the provided fix is HortusFox 6.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203