CVE-2026-134034
JSON

8.1high

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

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
danielbrendel hortusfox-web< 6.2CVE List

Classification

CWE-89CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134034 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-134034 changed 2026-11-25Public domain