---
id: "CVE-2026-112091"
kind: "vulnerability"
aliases: ["CVE-2026-112091"]
title: "Dairy management system: AJAX endpoint lets remote users read files"
severity: "medium"
cvss: 5.5
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["dairy-management-system", "other", "php", "self-hosted"]
not_affected_if: ["endpoint-not-reachable", "other-commit"]
published_at: "2026-10-19T08:17:03+00:00"
first_seen_at: "2026-10-23T21:57:17+00:00"
updated_at: "2026-10-25T04:12:54+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112091", "first_seen_at": "2026-10-23T21:57:17+00:00"}]
---

# Dairy management system: AJAX endpoint lets remote users read files

A path-manipulation flaw in the checkfarmer.json.php AJAX endpoint of the Dav-ee dairy-management-system lets a remote attacker supply a crafted fname argument. The result is information disclosure, meaning files or data the application should not expose can be read.

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

## How to check

- Check whether the deployment includes `delivery/checkfarmer.json.php` from the repository, e.g. `ls delivery/checkfarmer.json.php`
- Compare the deployed commit against `31ace9692d1e1e6d64339a42c463b361319c615c` or `f31a584c3330c013b61f8b0306d9e0849c6d693d`
- Request the endpoint with an fname value containing `../` and see whether non-application files come back

## Timeline

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

## From the sources

A flaw has been found in Dav-ee dairy-management-system 31ace9692d1e1e6d64339a42c463b361319c615c/f31a584c3330c013b61f8b0306d9e0849c6d693d. Impacted is an unknown function of the file delivery/checkfarmer.json.php of the component AJAX Endpoint. This manipulation of the argument fname causes information disclosure. Remote exploitation of the attack is possible. The exploit has been published and may be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The project was informed of the problem early through an issue report but has not responded yet.

---

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