Skip to content
Heist/ feed
Back to feed
Medium

OpenEMR has IDOR in Fee Sheet Product Save

Type: advisorySources: OSV

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, an Insecure Direct Object Reference (IDOR) vulnerability in the fee sheet product save logic (`library/FeeSheet.class.php`) allows any authenticated user with fee sheet ACL access to delete, modify, or read `drug_sales` records belonging to arbitrary patients by manipulating the hidden `prod[][sale_id]` form field. The `save()` method uses the user-supplied `sale_id` in five SQL queries (SELECT, UPDATE, DELETE) without verifying that the record belongs to the current patient and encounter. Version 8.0.0.3 contains a patch.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32120
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:45 UTC · Revision 1

Source evidence

OpenEMR has IDOR in Fee Sheet Product Save

core-osv · Original source

Published 25 Mar 2026, 22:27 UTC

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, an Insecure Direct Object Reference (IDOR) vulnerability in the fee sheet product save logic (`library/FeeSheet.class.php`) allows any authenticated user with fee sheet ACL access to delete, modify, or read `drug_sales` records belonging to arbitrary patients by manipulating the hidden `prod[][sale_id]` form field. The `save()` method uses the user-supplied `sale_id` in five SQL queries (SELECT, UPDATE, DELETE) without verifying that the record belongs to the current patient and encounter. Version 8.0.0.3 contains a patch.

osv:CVE-2026-32120
Complete source record
{
  "id": "62908cb5f746b038e2fc4f0b09b8c41186ff30c8034b18f400a4afb85d2f5ade",
  "url": "https://osv.dev/vulnerability/CVE-2026-32120",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenEMR has IDOR in Fee Sheet Product Save",
    "summary": "OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, an Insecure Direct Object Reference (IDOR) vulnerability in the fee sheet product save logic (`library/FeeSheet.class.php`) allows any authenticated user with fee sheet ACL access to delete, modify, or read `drug_sales` records belonging to arbitrary patients by manipulating the hidden `prod[][sale_id]` form field. The `save()` method uses the user-supplied `sale_id` in five SQL queries (SELECT, UPDATE, DELETE) without verifying that the record belongs to the current patient and encounter. Version 8.0.0.3 contains a patch.",
    "evidence": "osv:CVE-2026-32120",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-32120",
      "aliases": [
        "CVE-2026-32120",
        "GHSA-pvvj-mv7h-7847"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openemr/openemr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7c96c8eefe460d6fadbccbe93d0fa6bf819acd69"
                },
                {
                  "fixed": "c5b4dd8caf2af70617cc58d39188621ed90543dc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.0.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c5b4dd8caf2af70617cc58d39188621ed90543dc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7c96c8eefe460d6fadbccbe93d0fa6bf819acd69"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v8_0_0_3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v8_0_0_2",
            "v8_0_0_1",
            "v8_0_0",
            "v3_0_1",
            "v3_0_0",
            "v2_9_0",
            "v2_8_3",
            "v2_8_2",
            "v2_8_1",
            "v2_8_0",
            "v2_7_3-rc1",
            "v2_7_2",
            "v2_7_2-rc2",
            "v2_7_2-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32120.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.028169395Z",
      "provider": "osv",
      "references": [
        "https://github.com/openemr/openemr/releases/tag/v8_0_0_3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32120.json",
        "https://github.com/openemr/openemr/security/advisories/GHSA-pvvj-mv7h-7847",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32120",
        "https://github.com/openemr/openemr/commit/c5b4dd8caf2af70617cc58d39188621ed90543dc"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-639"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32120.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32120",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510809,
  "published_at": "2026-03-25T22:27:38.208+00:00"
}