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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 24 Nov 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title HortusFox: Identifier-position SQL Injection in HortusFox AdminController allows persistent passwordless admin access
Weaknesses CWE-352
CWE-89
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-24T16:32:00.548Z

Reserved: 2026-11-20T19:40:51.141Z

Link: CVE-2026-134034

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses