Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.1CVE-2026-134034

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

Published 24/11/2026 · Updated 25/11/2026 · danielbrendel hortusfox-web

Description

HortusFox is a self-hosted web application for collaborative plant management. Prior to 6.2, the toggle_boolean_value() 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 products and versions

danielbrendel hortusfox-web< 6.2

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
None

Weakness type (CWE)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command
  • CWE-352 Cross-Site Request Forgery

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.