---
id: CVE-2026-115328
title: JSON-SCADA before 0.65-alpha SQL Injection via OPC HistoryRead API
summary: >-
  JSON-SCADA before 0.65-alpha contains an sql injection vulnerability in
  opcApi() in src/server_realtime_auth/index.js that allows authenticated users
  to inject SQL via HistoryReadRequest parameters. Attackers can inject stacked
  statement…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-89
vendor: riclolsen
product: json-scada
affected:
  - json-scada < 0.65-alpha
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T10:57:45.975Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115328'
references:
  - url: >-
      https://github.com/riclolsen/json-scada/commit/60b65bcd42d6ee21aa8587580ec778c3bb9b4755
  - url: 'https://github.com/riclolsen/json-scada/releases/tag/V0.65-alpha'
    label: V0.65-alpha Release Notes
  - url: >-
      https://github.com/riclolsen/json-scada/blob/V0.64-alpha/src/server_realtime_auth/index.js#L2175-L2224
  - url: 'https://github.com/riclolsen/json-scada'
  - url: >-
      https://www.vulncheck.com/advisories/json-scada-before-0.65-alpha-sql-injection-via-opc-historyread-api
    label: >-
      VulnCheck Advisory: JSON-SCADA before 0.65-alpha SQL Injection via OPC
      HistoryRead API
tags:
  - cve.org
ingestedAt: '2026-10-22T11:37:02.334Z'
---

## Overview

JSON-SCADA before 0.65-alpha contains an sql injection vulnerability in opcApi() in src/server_realtime_auth/index.js that allows authenticated users to inject SQL via HistoryReadRequest parameters. Attackers can inject stacked statements through NodeId.Id, StartTime, or EndTime values to read, modify, or delete historian data across all locations regardless of role.

## Affected

- `json-scada < 0.65-alpha`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
