---
id: "CVE-2026-112088"
kind: "vulnerability"
aliases: ["CVE-2026-112088"]
title: "Dav-ee dairy-management-system: SQL injection in farmers/add.php form fields"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["dairy-management-system", "package", "php", "self-hosted"]
not_affected_if: ["no-internet-exposure", "not-deployed"]
published_at: "2026-10-19T07:16:30+00:00"
first_seen_at: "2026-10-23T21:57:17+00:00"
updated_at: "2026-10-25T03:57:22+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112088", "first_seen_at": "2026-10-23T21:57:17+00:00"}]
---

# Dav-ee dairy-management-system: SQL injection in farmers/add.php form fields

The farmers/add.php page of the Dav-ee dairy management system passes form fields such as f_no, f_id, f_name and f_phone into a mysqli_query call without safe parameter binding. A remote attacker can alter the database queries to read or change stored farmer and dairy records.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Look for `farmers/add.php` in the project and check whether the `mysqli_query` call builds SQL from `$_POST` or `$_GET` values without prepared statements
- Confirm the commit in use: unknown versioning, compare against `31ace9692d1e1e6d64339a42c463b361319c615c` and `f31a584c3330c013b61f8b0306d9e0849c6d693d`

## Timeline

- 2026-10-23T21:57:17+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112088

## From the sources

A weakness has been identified in Dav-ee dairy-management-system 31ace9692d1e1e6d64339a42c463b361319c615c/f31a584c3330c013b61f8b0306d9e0849c6d693d. This affects the function mysqli_query of the file farmers/add.php. Executing a manipulation of the argument f_no/f_id/f_name/f_locallity/f_ac/f_phone can lead to sql injection. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The vendor was contacted early about this disclosure.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
